]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapd.conf
Code clean-up.
[openldap] / servers / slapd / slapd.conf
index c609a793d021dd9281d2c38dcd5e41946158a2b8..006b95288fe59f3291a60cd7738cbe36ae552116 100644 (file)
@@ -1,14 +1,27 @@
-include                %ETCDIR%/slapd.at.conf
-include                %ETCDIR%/slapd.oc.conf
+#
+# 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
 schemacheck    off
 referral       ldap://ldap.itd.umich.edu
 
+pidfile                %LOCALSTATEDIR%/slapd.pid
+argsfile       %LOCALSTATEDIR%/slapd.args
+
 #######################################################################
 # ldbm database definitions
 #######################################################################
 
 database       ldbm
-suffix         "o=Your Organization Name, c=US"
+suffix         "dc=your-domain, dc=com"
+#suffix                "o=Your Organization Name, c=US"
 directory      /usr/tmp
-rootdn         "cn=root, o=Your Organization Name, c=US"
+rootdn         "cn=root, dc=your-domain, dc=com"
+#rootdn                "cn=root, o=Your Organization Name, c=US"
 rootpw         secret
+# cleartext passwords, especially for the rootdn, should
+# be avoid.  See slapd.conf(5) for details.
+
+