CentOS 6
Sponsored Link

Configure LDAP Client2015/03/17

Configure LDAP Client in order to share users' accounts in your local networks.
[1] Install OpenLDAP Client.
[root@www ~]#
yum -y install openldap-clients nss-pam-ldapd
# ldapserver=(LDAP server's hostname or IP address)

# ldapbasedn="dc=(your own domain name)"

[root@www ~]#
authconfig --enableldap \
--enableldapauth \
--ldapserver=dlp.srv.world \
--ldapbasedn="dc=srv,dc=world" \
--enablemkhomedir \

Starting nslcd:                          [  OK  ]

[root@www ~]#
CentOS release 6.8 (Final)
Kernel 2.6.32-642.3.1.el6.x86_64 on an x86_64
www.srv.world login:
# LDAP user

# password

Creating directory '/home/redhat'.
[redhat@www ~]$
# just logined
[redhat@www ~]$
# try to change the LDAP password

Changing password for user redhat.
Enter login(LDAP) password:
# current password

New password:
# new password

Retype new password:
LDAP password information changed for redhat
passwd: all authentication tokens updated successfully.
Matched Content