Name Service Switch (NSS) for LDAP user authentication - possible?

Rob Landley rob at landley.net
Thu Jan 26 23:21:30 UTC 2006


On Thursday 26 January 2006 09:08, Tomasz Chmielewski wrote:
> Hello,

> As far as I understand, to do this, one needs Name Service Switch.

Which is part of your c library and we don't mess with it.  As long as 
getpwnam() and friends feed us that data we need, we're pretty happy.

> What steps do I have to take to add Name Service Switch to a
> busybox-based distribution, so that the system could get the users and
> groups from an LDAP server?

1) Configure your libc to provide it.  I know glibc can, but I doubt the 
uClibc guys would ever actually want to.  (The horror that is pam is probably 
involved.)

2) Tell busybox not to use its internal passwd functions.  
(CONFIG_USE_BB_PWD_GRP should be off).

Rob
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.



More information about the busybox mailing list