This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
ldap_openldap [2014/11/24 01:14] 0.0.0.0 created |
ldap_openldap [2014/11/24 02:19] ben |
||
---|---|---|---|
Line 89: | Line 89: | ||
Add the following to configuration to make nss revert to the cached credentials if there' | Add the following to configuration to make nss revert to the cached credentials if there' | ||
- | {{File|/ | + | {{File|/ |
passwd: | passwd: | ||
shadow: | shadow: | ||
- | </syntax>}} | + | </code>}} |
Configure pam to update the cache on successful logins, and accept cached credentials when no server is available. | Configure pam to update the cache on successful logins, and accept cached credentials when no server is available. | ||
- | {{File|/ | + | {{File|/ |
auth required | auth required | ||
auth [[success=ignore|default=1]] pam_localuser.so | auth [[success=ignore|default=1]] pam_localuser.so | ||
Line 112: | Line 112: | ||
account | account | ||
account | account | ||
- | </syntax>}} | + | </code>}} |
Log in once, and your credentials should be cached. You can check with the following command | Log in once, and your credentials should be cached. You can check with the following command |