Samba-1.9.17p2 & PAM
Baldur Norddahl
bbn at dark.x.dtu.dk
Tue Sep 30 09:15:07 GMT 1997
On Tue, 30 Sep 1997, Tom Hutchison wrote:
> Excuse me if this is an old question as I am new to the list.
>
> Has anyone built Samba-1.9.17p2 from the sources on RedHat 4.1, i.e.
> PAM -0.54. After uncommenting in the Makefile,
>
> PAM_FLAGS = -DUSE_PAM
> PAM-LIBS = -ldl -lpam
>
> I compiled samba and installed it. Unfortunately it will not
> authenticate a user no matter what I try. I am not good enough to debug
> the log files and strace output. Any help or advice would be greatly
> appreciated.
Create the file /etc/pam.d/samba with the following contens:
auth required /lib/security/pam_pwdb.so nullok shadow
account required /lib/security/pam_pwdb.so
This will allow samba to use pam.
Baldur
More information about the samba
mailing list