Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ldap_pam [2016/10/27 22:44]
imcsk8
ldap_pam [2016/10/27 22:47] (current)
imcsk8
Line 57: Line 57:
 uri ldap://​ldaphost.example.com/​ uri ldap://​ldaphost.example.com/​
 </​code>​ </​code>​
 +\\
 +Modify /​etc/​nsswitch.conf
 +
 +<​code>​
 +passwd: ​        files ldap
 +group: ​         files ldap
 +hosts: ​         files dns ldap
 +
 +# LDAP is nominally authoritative for the following maps.
 +services: ​  ldap [NOTFOUND=return] files
 +networks: ​  ldap [NOTFOUND=return] files
 +protocols: ​ ldap [NOTFOUND=return] files
 +rpc:        ldap [NOTFOUND=return] files
 +ethers: ​    ldap [NOTFOUND=return] files
 +</​code>​
 +\\
 +And be happy!!
  
 ===== References ===== ===== References =====