......@@ -1049,14 +1049,12 @@ static ConfigOCs cf_ocs[] = {
"AUXILIARY "
"MAY ( olcDefaultSearchBase $ olcPasswordHash $ olcSortVals ) )",
Cft_Database, NULL, NULL },
#ifdef SLAPD_MODULES
{ "( OLcfgGlOc:8 "
"NAME 'olcModuleList' "
"DESC 'OpenLDAP dynamic module info' "
"SUP olcConfig STRUCTURAL "
"MAY ( cn $ olcModulePath $ olcModuleLoad ) )",
Cft_Module, NULL, cfAddModule },
#endif
{ NULL, 0, NULL }
};
......
......@@ -14,8 +14,8 @@ pidfile %LOCALSTATEDIR%/run/slapd.pid
argsfile %LOCALSTATEDIR%/run/slapd.args
# Load dynamic backend modules:
# modulepath %MODULEDIR%
# moduleload back_mdb.la
modulepath %MODULEDIR%
moduleload back_mdb.la
# moduleload back_ldap.la
# Sample security restrictions
......
......@@ -26,15 +26,13 @@ olcPidFile: %LOCALSTATEDIR%/run/slapd.pid
#
# Load dynamic backend modules:
#
#dn: cn=module,cn=config
#objectClass: olcModuleList
#cn: module
#olcModulepath: %MODULEDIR%
#olcModuleload: back_mdb.la
dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModulepath: %MODULEDIR%
olcModuleload: back_mdb.la
#olcModuleload: back_ldap.la
#olcModuleload: back_passwd.la
#olcModuleload: back_shell.la
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
......