On Tue, 2011-08-16 at 15:54 +0200, Andreas B. Mundt wrote: > the libnss-ldapd package is a nice way to switch on LDAP as data > source for various services. Unfortunatelly, it is not possible to > add automounter (autofs-ldap) and sudoers (sudo-ldap) to the list in > /etc/nsswitch.conf, like: > > [...] > automount: files ldap > sudoers: files ldap > [...]
The problem with those are that these services are not provided by the NSS layer in the C library (even though some applications abuse /etc/nsswitch.conf for this). Both autofs-ldap and sudo-ldap are not very generic applications. It seems that autofs uses a plugin-like setup so it should be possible to either provide an autofs-ldapd or similar mechanism for it. I've had a look at sudo-ldap once but it seems to be very hard to make something independant (sudo-ldap is more a patched sudo). Having said that, I don't think it is terribly difficult to implement the needed features in nslcd. I would welcome patches for something like this. Thanks for your bugreport. -- -- arthur - adej...@debian.org - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part