Hello World from OSS Silicon Valley


HowToUse/OpenLDAP/2.4


_ Prerequisite

_ Install&Setup

Step.1
Install OpenLDAP server and clients.
#  yum install openldap-servers openldap-clients
Step.2
Remove unnecessary config files.
# rm -rf /etc/openldap/slapd.d/*
# rm -rf /var/lib/ldap/*
Step.3
Prepare default config files.
# cp -a /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
# chown ldap. /var/lib/ldap/DB_CONFIG
# cp -a /usr/share/openldap-servers/slapd.conf.obsolete /etc/openldap/slapd.conf 
Step.4
Config slapd.conf.
# vi /etc/openldap/slapd.conf

Example of slapd.conf

Github - nb-deliverykit

Step.5
Launch ldap server.
# /etc/init.d/slapd start
# chkconfig slapd on

_ HowToUse

Step.1
xxx

_ Author

S.Yatsuzuka