Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Linux >> RHEL >> 7 >> How to install OpenLDAP

1. Install the following packages

(Assuming that yum repository is already configured)

# yum -y install openldap-clients openldap-servers

 

2.  Start and Enable slapd service

# systemctl start slapd

# systemctl enable slapd

# systemctl status slapd

3. create LDAP admin password

# slappasswd

e.g. set it as redhat

 

4. Modify the olcSuffix and olcRootDN attributes in the LDAP database using ldapmodify

a. prepare my_config.ldif

dn: olcDatabase={2}hdb,cn=config
changetype: modify
replace: olcSuffix
olcSuffix: dc=example,dc=com

dn: olcDatabase={2}hdb,cn=config
changetype: modify
replace: olcRootDN
olcRootDN: cn=admin,dc=example,dc=com

 

 

 References

1. https://www.golinuxcloud.com/install-and-configure-openldap-centos-7-linux/

 

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]