lists.arthurdejong.org
RSS feed

[nssldap] release of nss-ldapd

[Date Prev][Date Next] [Thread Prev][Thread Next]

[nssldap] release of nss-ldapd



I have been working on nss-ldapd for the last two months or so and now
it's ready for it's first beta release. nss-ldapd is a fork from
nss_ldap to try out some structural design changes.

The code was split into two parts: a thin NSS part and a daemon that
listens on a local socket. The daemon then does the requests to the LDAP
server. This was done to solve some problems during booting and
deadlocks with hostname lookups. 

These issues are solved because the lookup can fail quickly if the local
daemon has not been started yet. The daemon can be started after the
LDAP server is available. The hostname lookup issue can be solved by not
using ldap for hostname lookups in the daemon process. The split also
simplifies the code considerably since a threading model can be chosen
in the daemon that does not need complex locking.

I took the opportunity to refactor some of the code to make things
simpler and more readable. In this process compatibility code has been
removed (but will be re-added later). The documentation was also
rewritten.

Some bugs probably remain and some refactoring still has to be done
(mainly in the LDAP parsing code) but this version should be good enough
to do some basic tests.

Any feedback is greatly appreciated. nss-ldapd can be downloaded from:
http://ch.tudelft.nl/~arthur/nss-ldapd/

-- 
-- arthur - arthur@ch.tudelft.nl - http://ch.tudelft.nl/~arthur --