User Tools

Site Tools


ubuntu:ldap:configure_shell_accounts_systems_in_ldap

Ubuntu - LDAP - Configure shell accounts / system in LDAP

Configuration module pam_ldap and nss_ldap (may be called also pam_ldap.conf, nss_ldap.conf - depending on the distribution):

ldap.conf
uri ldapi://
binddn uid=nssproxy,ou=System,dc=example,dc=com
bindpw secret
rootbinddn uid=remoteroot,dc=System,dc=example,dc=com
 
base dc=example,dc=com
scope sub
 
pam_password exop

Nslcd configuration (may also be called nss-ldapd.conf):

nslcd.conf
uid nslcd
gid nslcd
 
uri ldapi://
base dc=example,dc=com
ldap_version 3
 
binddn uid=nssproxy,ou=System,dc=example,dc=com
bindpw secret
 
scope sub
ubuntu/ldap/configure_shell_accounts_systems_in_ldap.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki