[Samba] RE: Smbd 3.0.13 dies when smb.conf has winbind separator = \

Greg Scott GregScott at InfraSupport.com
Sun Apr 3 19:28:27 GMT 2005

With help from Doug VanLeuven I think we fixed the problem.  The whole
bit with the backslash was a dead-end.  Doug sent over this script that
puts the libnss_winbind.so and libnss_wins.so libraries where they
belong and sets up working symlinks.  The documentation for moving the
libraries in section of the Samba-HOWTO-Collection is wrong.
Use Doug's script instead:

I think I still have some Kerberos work to do, but now I can open the
shares on this system from a Windows box.  

My next challenge is squid authentication (sigh) . . .

- Greg


# Save this script some place convenient.
# cd /usr/src/samba-3.0.13/source and run this script from there.

echo "Copying nsswitch modules to system library"


cd /lib
rm -f libnss_winbind.so libnss_winbind.so.1 libnss_winbind.so.2
rm -f libnss_wins.so libnss_wins.so.1 libnss_wins.so.2
cd /usr/lib
rm -f libnss_winbind.so libnss_wins.so

cd $CWD
cp -f nsswitch/libnss_winbind.so /lib
cp -f nsswitch/libnss_wins.so /lib

cd /lib
ln -sf libnss_winbind.so libnss_winbind.so.1
ln -sf libnss_winbind.so libnss_winbind.so.2
ln -sf libnss_wins.so libnss_wins.so.1
ln -sf libnss_wins.so libnss_wins.so.2

cd /usr/lib
ln -sf ../../lib/libnss_winbind.so libnss_winbind.so
ln -sf ../../lib/libnss_wins.so libnss_wins.so


-----Original Message-----
From: Murali Gunasekaran [mailto:mgunase at gce2000.com] 
Sent: Sunday, April 03, 2005 10:26 AM
To: Greg Scott; samba at lists.samba.org
Subject: RE: [Samba] RE: Smbd 3.0.13 dies when smb.conf has winbind
separator = \

Just a few suggestions:

1. Try starting winbind with the options -i and -d <debug-level> like  $
/usr/sbin/winbindd -i -d 3 This will show what winbind is doing behind
the covers and possibly show what's wrong.

2. Are you able to authenticate using wbinfo -a username%password ?

3. I haven't used ADS and have only tried setting security=domain, so
not sure about Kerberos auth. Have you joined your Samba server as a
domain member of your Windows PDC? (Check your Active Directory setting
in your windows PDC)

4. Also, make sure your /etc/resolv.conf contains entries to your
nameserver, like "nameserver <pdc-ip-addr>"


More information about the samba mailing list