--On Monday, August 21, 2023 10:38 PM +0530 Kaushal Shriyan kaushalshriyan@gmail.com wrote:
Prepare the database template included in OpenLDAP installed
# cp -r /usr/share/openldap-servers/DB_CONFIG.example # /var/lib/ldap/DB_CONFIG cp: cannot stat '/usr/share/openldap-servers/DB_CONFIG.example': No such file or directory
# ls -l /usr/share/openldap-servers/DB_CONFIG.example ls: cannot access '/usr/share/openldap-servers/DB_CONFIG.example': No such file or directory # ls -l /etc/openldap/slapd.d/cn=config/olcDatabase={2}mdb.ldif ls: cannot access '/etc/openldap/slapd.d/cn=config/olcDatabase={2}mdb.ldif': No such file or directory
I don't know where you are getting information about /usr/share/openldap-servers/DB_CONFIG.example. That doesn't exist in OpenLDAP 2.5+
--Quanah