Unable to use nsswitch.conf with Busybox
Denis Vlasenko
vda.linux at googlemail.com
Thu May 17 23:46:14 UTC 2007
Hi Jari,
On Thursday 17 May 2007 16:01, Jari Takkala wrote:
> I am having some trouble getting Busybox to authenticate against LDAP.
> I do not see Busybox calling glibc's getpwnam() when I do an ltrace,
> and consequently I don't see /etc/nsswitch.conf being opened.
> I only see an open and read of /etc/passwd.
>
> This is Busybox 1.4.0 with glibc 2.5, the relevant config options are:
>
> CONFIG_FEATURE_SHADOWPASSWDS=y
> # CONFIG_USE_BB_SHADOW is not set
> # CONFIG_USE_BB_PWD_GRP is not set
Huh, indeed... does attached patch help?
> I passed the LDFLAG of -lnsl to Busybox, don't know if that is required
I don't think it's necessary.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8.patch
Type: text/x-diff
Size: 390 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070518/4499f1bb/attachment-0002.bin
More information about the busybox
mailing list