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