[Samba] Winbind Username Lookups
Dege, Robert C.
robert.dege at ngc.com
Thu Feb 2 20:37:16 GMT 2006
I am using winbind for username lookups (not login authentication).
However, I am getting an inconsistent list of user accounts depending on
what tool I use to query winbindd.
# wbinfo -u -- I get a full listing of user accounts from the ADS
(~180k of accounts)
# getent passwd -- I get a much smaller list of accounts (~55k of
accounts)
Here are the steps I followed to integrate winbind into name lookup:
root# cp /usr/src/samba/source/nsswitch/libnss_winbind.so /usr/lib
root# ln -s /usr/lib/libnss_winbind.so /usr/lib/libnss_winbind.so.1
root# ln -s /usr/lib/libnss_winbind.so /usr/lib/libnss_winbind.so.2
root# ln -s /usr/lib/libnss_winbind.so /usr/lib/nss_winbind.so.1
root# ln -s /usr/lib/libnss_winbind.so /usr/lib/nss_winbind.so.2
Modify /etc/nsswitch.conf and update password and groups to:
passwd files winbind
group files winbind
Any assistance is appreciated.
-Rob
More information about the samba
mailing list