[Samba] winbind and getent - fix ...

C.Lee Taylor leet at leenx.co.za
Fri Sep 26 14:49:43 GMT 2003


jean-marc pouchoulon wrote:

>Thanks for your answer.
>
    My pleasure ...

>But it didn't work.
>
    Was this, to do with winbind and getent passwd?

>There is no ldap request except for user with posix account. ( I can see
>these users using getent )
>
    I don't think there will be any LDAP requested when doing a getent 
passwd with winbind, but I could be wrong ..

>I think there is no appeal by libnss library to winbind but I don't
>understatnd why.
>
    I don't think this was meant for me, but I if it's the problem that 
I had, on RedHat 9 using the rpm from the Samba.org webpage, then do ...

cd /lib
ln -s libnss_winbind.so libnss_winbind.so.2

    And make sure that you have winbind at the end of the line passwd, 
group and hosts in /etc/nsswitch.conf, ie ...
    passwd:     files winbind
    group:      files winbind

and so on ...

Mailed
Lee










More information about the samba mailing list