Linux Tutorials - Herong's Tutorial Examples - v5.45, by Herong Yang
Install OpenLDAP Server on CentOS
This section provides a tutorial example on how to install OpenLDAP server on a CentOS 6 computer.
How To Install OpenLDAP Server on CentOS Systems? There are two options to install OpenLDAP on CentOS Systems:
Here are steps to install OpenLDAP Server on CentOS 6.
1. Set the "base" package repository to getpagespeed.com, which is the only repository available for CentOS 6 packages.
herong$ sudo curl https://www.getpagespeed.com/files/centos6-eol.repo \ --output /etc/yum.repos.d/CentOS-Base.repo
2. Install OpenLDAP server package.
herong$ sudo yum install openldap-servers Installed: openldap-servers.i686 0:2.4.40-16.el6
3. Start the OpenLDAP server.
herong$ sudo service slapd start Starting slapd: [ OK ] herong$ sudo service slapd status slapd (pid 24192) is running...
4. Verify the server installation.
herong$ sudo slaptest 60597f72 bdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap: (2). Expect poor performance for suffix "dc=my-domain,dc=com". config file testing succeeded herong$ sudo slapcat 6059383f The first database does not allow slapcat; using the first available one (2) 6059383f bdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap: (2). Expect poor performance for suffix "dc=my-domain,dc=com".
The output tells us that:
See other tutorials on how to configure OpenLDAP server and add directory entries.
Table of Contents
Cockpit - Web Portal for Administrator
SELinux - Security-Enhanced Linux
SSH Protocol and ssh/scp Commands
Software Package Manager on CentOS - DNF and YUM
vsftpd - Very Secure FTP Daemon
►LDAP (Lightweight Directory Access Protocol)
►Install OpenLDAP Server on CentOS
Configure OpenLDAP Server on CentOS
Hierarchical Structure of LDAP Entries
Install OpenLDAP Server on CentOS 8
Configure Mozilla Thunderbird to Use LDAP
LDAP Attributes Mapping in Mozilla Thunderbird