Summary: | recent pam versions: pam_unix should have silent option for using multiple authentication plugins | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Huemi <gentoobugs> |
Component: | Current packages | Assignee: | PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | ldap-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Huemi
2009-03-30 14:39:31 UTC
Uhm I'm not sure I follow you but if you want to log in with a non-default system, you usually put it as sufficient _before_ pam_unix and leave pam_unix at the end, so if _that_ fails, it means all the methods fail, which is why pam_unix records the login failure. Please provide an example of failing stack if you think this is still an issue. Thanks. Thanks for your help. This seems to work (at least at the moment). The opposite order might be useful when i.e. the OpenLDAP server fails, because otherwise there could be a long delay (or even an error?) before you can log in locally when something fails (but in this order you will encounter the reported problems ...) Everybody following the (official?) LDAP howto will encounter the reported problems: See http://www.gentoo.org/doc/en/ldap-howto.xml Hey LDAP guys you maintain the guide right? Sincerely I wouldn't care about the delay, especially considering the kind of requests it would have to be fixed (changing PAM iself). But you're perfectly right if our official documentation has the “wrong” line it should be fixed. Okay, I'll close this one since pambase is now getting support for authenticating properly against other login services, and should give an idea on how properly doing it. The problem is still in the docs, but since I haven't integrated LDAP just yet it can't be fixed right away. |