problem with command order in auth block
Narayana Pattipati
narayana.pattipati at wipro.com
Mon May 9 11:30:25 UTC 2005
On Mon, 2005-05-09 at 16:46, Michael Hamann wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20050509/a76cc00d/attachment.htm>
More information about the Pam-list
mailing list