ldapclient configuration in ubuntu 16 04

Опубликовано: 28 Июль 2026
на канале: techharvest foundation
157
3

sudo apt-get update
sudo apt-get install libpam-ldap nscd
Basic ldap client configuration in ubuntu 16.04

/etc/phpldapadmin/config.php

Search for: “ 'login’,'bind_id’ ” within the file
Our example was “cn=admin,dc=techharvest,dc=com”
LDAP root account password: Your-LDAP-root-password

sudo dpkg-reconfigure ldap-auth-config
sudo nano /etc/nsswitch.conf
have to add this line
passwd: ldap compat
group: ldap compat
shadow: ldap compat

sudo nano /etc/pam.d/common-session

for home directory creation

session required pam_mkhomedir.so skel=/etc/skel umask=0022

restart the service for implemented changes

sudo /etc/init.d/nscd restart

***********************************
subscribe to

techharvestfoundation
**********************************