CentOS 5
Configuration for LDAP client
[1] Configuration for LDAP client
[root@www ~]#
yum -y install openldap-clients


[root@www ~]#
# run setup


(1) select Authentication Configuration
(2) check boxes like below
(3) specify LDAP server's IP address and suffix

# If you will not share users' /home with NFS, set config like below

# (users' home deirectory is made automatically when logined)

[root@www ~]#
vi /etc/pam.d/system-auth


# add at the bottom

session optional pam_mkhomedir.so skel=/etc/skel umask=077


[root@www ~]#
shutdown -r now


www.server.world login:
cent
# user on LDAP

Password:
Last login: Thu Aug 12 00:12:32 2010
Creating directory '/home/cent'.
[cent@www ~]$
# just logined

[cent@www ~]$
# change password

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

New UNIX password:
# new LDAP password

Retype new UNIX password:
LDAP password information changed for cent
passwd: all authentication tokens updated successfully.  
# changed