linux – slapd config on CentOS
`Is slapd daemon not enabled by default and do we need to create the slapd config file manually ?
I am using CentOS Stream 9.
I installed all the openldap packages but I do not see /etc/openldap/slapd* config files in the path and no slapd service when I check for systemctl status
Outputs :
[root@SouraLinux openldap]# yum install openldap*
Last metadata expiration check: 0:30:03 ago on Saturday 30 December 2023 08:46:18 AM.
Package openldap-2.6.3-1.el9.x86_64 is already installed.
Package openldap-clients-2.6.3-1.el9.x86_64 is already installed.
Package openldap-compat-2.6.3-1.el9.x86_64 is already installed.
Package openldap-devel-2.6.3-1.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@SouraLinux openldap]# yum list installed | grep openldap
openldap.x86_64 2.6.3-1.el9 @anaconda
openldap-clients.x86_64 2.6.3-1.el9 @baseos
openldap-compat.x86_64 2.6.3-1.el9 @anaconda
openldap-devel.x86_64 2.6.3-1.el9 @appstream
[root@SouraLinux etc]# cat centos-release
CentOS Stream release 9
[root@SouraLinux openldap]# ls -lrt
total 4
-rw-r--r--. 1 root root 900 Jun 15 2023 ldap.conf
drwxr-xr-x. 2 root root 6 Jun 15 2023 certs
[root@SouraLinux openldap]# pwd
/etc/openldap
[root@SouraLinux openldap]# systemctl | grep slapd
[root@SouraLinux openldap]#
[root@SouraLinux openldap]# ps -eaf | grep slapd
root 5068 2911 0 09:30 pts/1 00:00:00 grep --color=auto slapd`
Read more here: Source link
