auth required pam_env.so auth required pam_winbind.so # auth required pam_unix.so try_first_pass auth required pam_storepw.so auth required pam_nologin.so then I can login (only auth with winbind) and get the following logfile. In this case it works exactly the way I want it to but I can´t login with local user accounts...
Can you try with the following order ?
auth sufficient pam_unix2.so debug audit nullok #set_secrpc
auth required pam_winbind.so use_first_pass debug nullok
auth required pam_storepw.so
auth required pam_nologin.so
It should first try local unix authentication first and then pam_winbind. It worked for me in my setup where I combined pam_winbind, pam_unix and pam_mkhomedir modules.
HTH,
Narayana
_______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list