# service AND an understanding of referrals.
#referral ldap://root.openldap.org
-pidfile %LOCALSTATEDIR%/slapd.pid
-argsfile %LOCALSTATEDIR%/slapd.args
+pidfile %LOCALSTATEDIR%/run/slapd.pid
+argsfile %LOCALSTATEDIR%/run/slapd.args
# Load dynamic backend modules:
# modulepath %MODULEDIR%
-# moduleload back_bdb.la
+# moduleload back_mdb.la
# moduleload back_ldap.la
-# moduleload back_ldbm.la
-# moduleload back_passwd.la
-# moduleload back_shell.la
# Sample security restrictions
# Require integrity protection (prevent hijacking)
# rootdn can always read and write EVERYTHING!
#######################################################################
-# ldbm database definitions
+# BDB database definitions
#######################################################################
-database bdb
+database mdb
+maxsize 1073741824
suffix "dc=my-domain,dc=com"
rootdn "cn=Manager,dc=my-domain,dc=com"
# Cleartext passwords, especially for the rootdn, should