yum -y install openldap-clients nss-pam-ldapd
vi /etc/openldap/ldap.conf

# LDAP server’s URI

URI ldap://

# specify Suffix

BASE dc=domain,dc=net
TLS_CACERTDIR /etc/openldap/cacerts

vi /etc/nslcd.conf
# line 131: specify URI, Suffix


base dc=domain,dc=net

ssl no
tls_cacertdir /etc/openldap/cacerts

vi /etc/pam_ldap.conf
# line 17: make it comment

# line 20: specify Suffix

base dc=domain,dc=net

# add at the last line

uri ldap://
ssl no
tls_cacertdir /etc/openldap/cacerts
pam_password md5
vi /etc/pam.d/system-auth
# add like follows

# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_fprintd.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >=

500 quiet

auth sufficient pam_ldap.so use_first_pass

auth required pam_deny.so

account required pam_unix.so
account sufficient pam_localuser.so
account sufficient pam_succeed_if.so uid < 500 quiet

account [default=bad success=ok user_unknown=ignore] pam_ldap.so

account required pam_permit.so

password requisite pam_cracklib.so try_first_pass retry=3 type=
password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok

password sufficient pam_ldap.so use_authtok

password required pam_deny.so

session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so

session optional pam_ldap.so

# add if you need ( create home directory automatically if it’s none )

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

vi /etc/nsswitch.conf
passwd: files ldap

# line 33: add

shadow: files ldap

# add

group: files ldap

# add
netgroup: ldap

# line 57: change

automount: files ldap

# line 61: change

vi /etc/sysconfig/authconfig

# line 18: change


chkconfig nslcd on

shutdown -r now

www.domain.world login:
# user on LDAP

Creating directory ‘/home/fermi’.

# just logined

[fermi@www ~]$
# try to change LDAP password

Changing password for user fermi.
Enter login(LDAP) password:
New password:
Retype new password:
LDAP password information changed for fermi

next designer collaboration for 2014
Chanel Espadrilles they may lure away a few customers

Fashion Trend in the 1990s
Isabel Marant Sneaker The was an era of anything goes

But Growth Prospects Are Still Strong
woolrich arctic parka will arrive review my employment interview costumes and as a result spot off if it is advisable to

Ginger Honey Crystals brew a cup of fast R
pandora charms idyllwild some states hikes

Dragon Ball Z Kai Season 1 Part 2
isabel marant sneakers preferably with lace

Changing Trends That Will Transform Pop Culture
woolrich jassen sale To help you get started

5 True Stories That Shatter Your Image of Famous Rock Icons
moncler jacka harajuku community layout

Kim Kardashian Almost Falls Down
roger vivier flats This will only make you feel worse

How to install OpenLDAP on CentOS ?