On Mon, Aug 21, 2023 at 10:29 PM Quanah Gibson-Mount <quanah@fast-mail.org> wrote:


--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

Thanks Quanah for the quick response. I am following https://unixcop.com/how-to-install-openldap-on-rockylinux-or-centos-8-step-by-step/. Are there any tutorials or guides to setup symas-openldap-servers-2.5.16-1.el8.x86_64 on Red Hat Enterprise Linux release 8.7 (Ootpa)?

Please suggest further. Thanks in advance.

Best Regards,

Kaushal