pam + pam_ccreds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(This is a bit offtopic, but I have only a few resources to turn to)

I have pam_ldap working fine, but when I install pam_ccreds and insert
ccreds's example config, it no longer works:

CCRED's example:
#--------------------------------------------------------------------------------------
other auth [user_unknown=ignore default=done] \
/lib/security/pam_unix.so
other auth [authinfo_unavail=ignore success=1 default=2] \
/lib/security/pam_ldap.so try_first_pass
other auth [default=done] /lib/security/pam_ccreds.so action=validate
use_first_pass
other auth [default=done] /lib/security/pam_ccreds.so action=store
other auth [default=done] /lib/security/pam_ccreds.so action=update
other account [user_unknown=ignore default=done]
/lib/security/pam_unix.so
other account [authinfo_unavail=ignore default=done]
/lib/security/pam_ldap.so
other account [default=done]
/lib/security/pam_permit.so
other session required /lib/security/pam_unix.so
other password required /lib/security/pam_ldap.so
#--------------------------------------------------------------------------------------

Ubuntu uses /etc/pam.d/common-auth/password/account/session

The default format is for example
auth required pam_ldap.so

So, ccred's example is not in the correct format?

Connecting with ldap without these (ccreds) changes works fine.
Error message I see after trying to "tweak" the example:
Jun 15 14:54:53 localhost login[4747]: (pam_unix) check pass; user unknown
Jun 15 14:54:53 localhost login[4747]: (pam_unix) authentication failure;
logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost=
Jun 15 14:54:55 localhost login[4747]: FAILED LOGIN (1) on `tty1' FOR `frans',
Authentication service cannot retrieve authentication info.
Jun 15 14:55:31 localhost login[4747]: (pam_unix) check pass; user unknown
Jun 15 14:55:34 localhost login[4747]: FAILED LOGIN (2) on `tty1' FOR `frans',
Authentication service cannot retrieve authentication info.
Jun 15 14:56:29 localhost login[4756]: Authentication service cannot retrieve
authentication info.

Anyone?

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux