[Samba] winbind and pam on FC3

David Rigler dave at itserviceltd.com
Fri Jun 10 11:53:39 GMT 2005

I cant get a login from an FC3 setup unless the user has a local account.

Jun 10 11:53:12 fc3 login(pam_unix)[12082]: check pass; user (elina) unknown
Jun 10 11:53:12 fc3 login(pam_unix)[12082]: authentication failure; 
logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost=  user=elina
Jun 10 11:53:12 fc3 pam_winbind[12082]: user 'elina' granted access
Jun 10 11:53:12 fc3 login(pam_unix)[12082]: could not identify user 
(from getpwnam(elina))
Jun 10 11:53:12 fc3 login[12082]: User not known to the underlying 
authentication module

any ideas


auth       required     pam_securetty.so
auth       required     pam_stack.so service=system-auth
auth       required     pam_nologin.so
account    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_stack.so service=system-auth
session    optional     pam_console.so
session    required     pam_mkhomedir.so skel=/etc/skel/ umask=0077
# pam_selinux.so open should be the last session rule
session    required     pam_selinux.so multiple open

# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      /lib/security/$ISA/pam_env.so
auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok
auth        sufficient    /lib/security/$ISA/pam_winbind.so use_first_pass
auth        required      /lib/security/$ISA/pam_deny.so

account     required      /lib/security/$ISA/pam_unix.so broken_shadow
account     sufficient    /lib/security/$ISA/pam_succeed_if.so uid < 100 
account     [default=bad success=ok user_unknown=ignore] 
account     required      /lib/security/$ISA/pam_permit.so

password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3
password    sufficient    /lib/security/$ISA/pam_unix.so nullok 
use_authtok md5 shadow
password    sufficient    /lib/security/$ISA/pam_winbind.so use_authtok
password    required      /lib/security/$ISA/pam_deny.so

session     required      /lib/security/$ISA/pam_limits.so
session     required      /lib/security/$ISA/pam_unix.so

More information about the samba mailing list