ldap_authentication
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ldap_authentication [2007/07/10 18:21] – New page: == Getting user information from [[LDAP]] == The <code>libnss-ldap</code> package handles fetching account information from LDAP. Also make sure that <code>nscd</code> is installed, other... mediawiki_default | ldap_authentication [2026/09/26 21:49] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ====== Getting user information from [[ldap]] ====== | ||
| - | |||
| - | |||
| - | The < | ||
| - | Also make sure that < | ||
| - | |||
| - | To tell < | ||
| - | the < | ||
| - | give the host and base (< | ||
| - | |||
| - | To tell libc to use < | ||
| - | | ||
| - | passwd: | ||
| - | group: | ||
| - | shadow: | ||
| - | |||
| - | The other databases are best left alone; we don't bother putting host | ||
| - | information or such like in LDAP because we don't see much benefit. | ||
| - | |||
| - | The < | ||
| - | |||
| - | |||
| - | ====== Authenticating with [[ldap]] ====== | ||
| - | |||
| - | |||
| - | The < | ||
| - | | ||
| - | host piper | ||
| - | base dc=tardis, | ||
| - | rootbinddn cn=admin, | ||
| - | ldap_version 3 | ||
| - | | ||
| - | # NSS lookups need to be restricted to the appropriate parts of the tree. | ||
| - | # If other lookups are added to / | ||
| - | # here too. | ||
| - | nss_base_passwd ou=People, | ||
| - | nss_base_group | ||
| - | nss_base_shadow ou=People, | ||
| - | | ||
| - | # Use funky generic LDAP password changing. | ||
| - | pam_password exop | ||
| - | |||
| - | |||
| - | PAM needs to be told to use < | ||
| - | | ||
| - | # ** Use trick from / | ||
| - | # | ||
| - | auth [success=1 default=ignore] | ||
| - | auth required | ||
| - | auth required | ||
| - | |||
| - | Note the < | ||
ldap_authentication.1184091692.txt.gz · Last modified: (external edit)
