[Samba] auth via PAM or /etc/passwd

Andrea Venturoli ml.diespammer at netfence.it
Wed Mar 8 22:20:48 GMT 2006

Mikhail Ramendik wrote:
> Hello,
> A friend wants to set up Samba (3.0.9-2.6-SUSE) so that users would log on 
> using the same credentials as on the local Linux system, without a separate 
> password database. He would like Samba to use PAM or /etc/passwd.
> Is it possible, and if so, how?

AFAIK no. I think it would not be possible without disabling password 
encryption, which would also mean he'll have to do without a lot of 
other things.

I'm doing it the other way round, i.e. using Samba as my authentication 
engine and let any other service authenticate through pam_smb. Then I 
use nss_ldap to complete the thing.


More information about the samba mailing list