Samba vs PAM
William R. Knox
wknox at mitre.org
Fri Mar 17 11:31:07 GMT 2000
Samba will authenticate against the smbpasswd file when the parameter
"encrypt passwords" is set to true in the smb.conf file. In order to use
a PAM based password, you are going to have to disable the encrypt
passwords parameter. This means, if you are using NT 4.0 SP3 or greater
or a more recent release of Win95 (I can't remember exactly which) or
any release of Win98, that you will have to enable clear text passwords
from the desktop with a registry hack. See the Win95.txt and WinNT.txt
files in the documents tree in the Samba directory for details.
Let me know if this works out for you. Good luck!
Senior Operating Systems Programmer/Analyst
The MITRE Corporation
Marek Les wrote:
> I wonder, in which way Samba supports PAM? I downloaded
> samba-2.0.6-19991110 and there I found in changelog it's compiled
> with --with-pam..
> My desire is to authenticate Samba users against Novell NDS. I
> managed to do this (under Linux) with many programs but Samba somehow
> resists :)
> I put something like this into /etc/pam.d/samba :
> auth required /lib/security/pam_ncp_auth.so use_first_pass
> But Samba still authenticates against smbpasswd :( .. one more
> question - is there a way to completely disable the need of smbpasswd
> if I want to authenticate _only_ against Novell NDS ?
> Please help :-)
> Marek "MaX" Le¹
More information about the samba