Please help with winbind setup

David Brodbeck DavidB at
Thu Nov 8 08:30:08 GMT 2001

Do 'getent passwd' and 'getent group' list your NT users?  If not, check
your /etc/nsswitch.conf file. Also, make sure you have
/lib/ and /lib/  (One should be an
actual file, and the other one a link to that file.  Run /sbin/ldconfig
after changing these, if you need to change them.)  If the getent commands
don't work, PAM authentication won't work either.

For your /etc/pam.d/samba file, try this:

auth		sufficient	/lib/security/
auth		required	/lib/security/ use_first_pass
nullok shadow
account	required	/lib/security/

The pam_securetty and lines may be confusing things.  The
above is what's working on my RedHat 7.0 system.

-----Original Message-----
From: Kevin [mailto:kevin at]
Sent: Thursday, November 08, 2001 10:39 AM
To: samba at
Subject: Please help with winbind setup

I created a file called "samba" in the /etc/pam.d/ dir
which contains the following lines:

auth	required	/lib/security/pam_securetty
auth	required	/lib/security/
auth	sufficient	/lib/security/
auth	required	/lib/security/ use_first_pass
shadow nullok
account	required	/lib/security/

I am ONLY concerned with users being able to access the
samba shares.  I don't want them to be able to login or
ftp to the samba box.  If anyone here can help me out
with this one i would really appreciate it.  If any
more info is required, please don't hesitate to ask.

More information about the samba mailing list