OpenLDAP slapd.ldif refers to *.la backend modules rather than the *.so modules actually installed
After installing apks openldap and openldap-back-mdb, the backend filename extensions are not consistent with the files actually installed. The slapd.ldif file refers to .la extensions. The files have .so extensions. This causes problems when starting the openldap service.
The following changes will fix the inconsistency:
--- /etc/openldap/slapd.ldif~
+++ /etc/openldap/slapd.ldif
@@ -30,15 +30,18 @@
objectClass: olcModuleList
cn: module
olcModulepath: /usr/lib/openldap
-olcModuleload: back_mdb.la
-#olcModuleload: back_ldap.la
-#olcModuleload: back_passwd.la
+olcModuleload: back_mdb.so
+#olcModuleload: back_ldap.so
+#olcModuleload: back_passwd.so
dn: cn=schema,cn=config
objectClass: olcSchemaConfig