[Samba] samba 4.4rcx WINS nsswitch module

Rowland penny rpenny at samba.org
Wed Mar 23 11:39:36 UTC 2016

On 23/03/16 10:12, barış tombul wrote:
> cd samba-4.4.0
> ./configure  --prefix=/usr/local/samba  --fatal-errors --enable-gnutls 
> --enable-debug  --enable-selftest
> make
> make install
> ln -v -fs /usr/local/samba/lib/security/pam_winbind.so 
> /lib64/security/pam_winbind.so
> ln -v -fs /usr/local/samba/lib/security/pam_smbpass.so 
> /lib64/security/pam_smbpass.so
> ln -v -fs /usr/local/samba/lib/libnss_winbind.so.2 /lib64/
> ln -v -fs /lib64/libnss_winbind.so.2 /lib64/libnss_winbind.so
> ln -v -fs /usr/local/samba/lib/libnss_wins.so.2 /lib64/
> ln -v -fs /lib64/libnss_wins.so.2 /lib64/libnss_wins.so
> ln -v -fs /usr/local/samba/bin/net /usr/bin/net
> ln -v -fs /usr/local/samba/bin/smbspool /usr/lib/cups/backend/smb
> ldconfig

When you tried to create the link for 'pam_smbpass.so', did it not show 
an error ?
It should have, as pam_smbpass has been remove from 4.4.0.

Can you try removing the 'libnss_wins' links from /lib64 and then 
recreate them with:

ln -s /usr/local/samba/lib/libnss_wins.so.2 /lib64/libnss_wins.so.2

ln -s /usr/local/samba/lib/libnss_wins.so.2 /lib64/libnss_wins.so

See if ping works now.


More information about the samba mailing list