[Samba] pam_winbind

cj cj at itonsite.com.au
Mon Sep 16 05:54:00 GMT 2002

G'day all

Im using winbind to use the passwords from a samba (HEAD) server.
I have copied the following into my /etc/pam.d/login file
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    optional     /lib/security/pam_console.so

When I try and telnet into the machine I get this in my messages log file
Sep 16 16:22:59 yamin pam_winbind[9973]: request failed, PAM error was 4, NT
Sep 16 16:22:59 yamin pam_winbind[9973]: internal module error (retval = 4,
user = `cairc'
Sep 16 16:22:59 yamin pam_winbind[9973]: user 'cairc' granted acces
Sep 16 16:22:59 yamin login(pam_unix)[9973]: session opened for user cairc
by (uid=0)
Sep 16 16:22:59 yamin  -- cairc[9973]: LOGIN ON pts/2 BY cairc FROM

Any one else encounted this error before and knows what is wrong


More information about the samba mailing list