Hi There,
I am new to OpenLDAP and followed the steps mentioned in this quick start guide as it is https://www.openldap.org/doc/admin25/quickstart.html but failing the configuration of OpenLDAP.
I followed the below steps on CentOS 8 with 2.5.7 and successfully installed but while configuring facing issues, please correct me if I am doing this in the wrong way.
1. Created a Linux user dedicated to OpenLDAP with the name "nchalla" which has sudo permissions.
2. Login with Root user and created a folder /u01
3. change permissions on /u01 (for time being granted 777 (
4. change ownership of /u01 to "nchalla"
5. downloaded the tarball and extracted the OpenLDAP 2.5.7
7. downloaded the required developer libraries
8. Logged in as nchalla and navigated to the OpenLDAP 2.5.7 extracted folder and start compiling and installing with the below commands ./configure --prefix=/u01/ldap make depend make make test (all tests were passed) make install
9. Started the configuration following the below steps a. created a folder /u01/ldap/etc/slapd.d b. updated the slapd.ldif with our domain name c. navigate to /u01/ldap and executed the command below, sbin/slapadd -n 0 -F /u01/ldap/etc/slapd.d -l /u01/ldap/etc/openldap/slapd.ldif
But getting an error message issue the above command
Also , the next step is to start the slapd service but It seems like I couldn't start the service as shown in the below screenshot
Please help! Thanks in advance.