]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapd.conf
add new ber dump routine (behind NEW_LOGGING)
[openldap] / servers / slapd / slapd.conf
index adc2d2a0476ba38c38c7c5094c6ed2207ddc8921..f31baf29e8fde0cbfa2af6847ddfbd8fa891fcea 100644 (file)
@@ -3,8 +3,7 @@
 # See slapd.conf(5) for details on configuration options.
 # This file should NOT be world readable.
 #
-include                %SYSCONFDIR%/slapd.at.conf
-include                %SYSCONFDIR%/slapd.oc.conf
+include                %SYSCONFDIR%/schema/core.schema
 
 # Define global ACLs to disable default read access.
 
@@ -15,6 +14,13 @@ include              %SYSCONFDIR%/slapd.oc.conf
 pidfile                %LOCALSTATEDIR%/slapd.pid
 argsfile       %LOCALSTATEDIR%/slapd.args
 
+# Load dynamic backend modules:
+# modulepath   %MODULEDIR%
+# moduleload   back_ldap.la
+# moduleload   back_ldbm.la
+# moduleload   back_passwd.la
+# moduleload   back_shell.la
+
 #######################################################################
 # ldbm database definitions
 #######################################################################
@@ -24,8 +30,12 @@ suffix               "dc=my-domain, dc=com"
 #suffix                "o=My Organization Name, c=US"
 rootdn         "cn=Manager, dc=my-domain, dc=com"
 #rootdn                "cn=Manager, o=My Organization Name, c=US"
+# Cleartext passwords, especially for the rootdn, should
+# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
+# Use of strong authentication encouraged.
 rootpw         secret
-# cleartext passwords, especially for the rootdn, should
-# be avoid.  See slapd.conf(5) for details.
-directory      /usr/tmp
-
+# The database directory MUST exist prior to running slapd AND 
+# should only be accessable by the slapd/tools. Mode 700 recommended.
+directory      %LOCALSTATEDIR%/openldap-ldbm
+# Indices to maintain
+index  objectClass     eq