[Samba] RedHat 9.0 winbind, and Pam login

Roberto Mason roberto at rmasonfamily.info
Mon Jul 14 19:08:59 GMT 2003


Is there someone that could send me a sample /etc/pam.d/login file that
works on Redhat 9.0. My winbind set now seems to be working fine. When I
do a wbinfo -a ....., my authenticfication works for both text and
challenge response.

I've modified my pam.d/login file to look like this, but I can't log on
to my user domain user roberto on my Samba Client, though I can from my
Windoze XP client. 

auth       required     /lib/security/pam_securetty.so
auth       sufficient   /lib/security/pam_winbind.so
auth       sufficient   /lib/security/pam_unix.so use_first_pass
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    sufficient   /lib/security/pam_winbind.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_mkhomedir.so umask=0022
session    optional     /lib/security/pam_console.so

I copied this for a Winbind Howto.



Thanks
Roberto




More information about the samba mailing list