OpenLDAP on Leap 15.0

Hello

I want to install an OpenLDAP server on Leap 15.0. Apparently the documentation is not up to date anymore. I followed this guide https://doc.opensuse.org/documentation/leap/security/html/book.security/cha.security.ldap.html but if I install openldap2 I get the following error when starting slapd:

May 13 08:44:17 dell slapd[15340]: @(#) $OpenLDAP: slapd 2.4.46 $
opensuse-buildservice@opensuse.org
May 13 08:44:17 dell start[15340]: Starting ldap-serverUnrecognized database type (mdb)
May 13 08:44:17 dell slapd[15340]: /etc/openldap/slapd.conf: line 68: <database> failed init (mdb)
May 13 08:44:17 dell slapd[15340]: DIGEST-MD5 common mech free
May 13 08:44:17 dell slapd[15340]: DIGEST-MD5 common mech free
May 13 08:44:17 dell slapd[15340]: slapd stopped.
May 13 08:44:17 dell slapd[15340]: connections_destroy: nothing to destroy.
May 13 08:44:17 dell systemd[1]: slapd.service: Control process exited, code=exited status=1
May 13 08:44:17 dell systemd[1]: Failed to start OpenLDAP Server Daemon.
– Subject: Unit slapd.service has failed

How can I install openldap2 on Leap 15.0?

Thanks for your help

Do you uncomment moduleload back_mdb.la line?

I have working OpenLDAP2 on LEAP15.0

Unlikely – the openSUSE documentation is only partially maintained by volunteers in the openSUSE community – the responsibility for the openSUSE documentation has been taken by SUSE employees assigned by their employer to the openSUSE project – and, it’s mostly the same as the commercial SLE documentation.

  • Did you use YaST to configure the LDAP server or, did you configure it manually?
  • Did you start the LDAP server by means of the systemd service or, by another means?

How did you install and configure your LDAP server?
You should install and configure using the YaST Authentication Server module.

Your error says that when you started slapd, it loaded an mdb database which failed authentication.
Is this the first LDAP server in your Domain or are you adding it to an existing Doimain… Or, do you have any idea where this mdb database came from?

TSU