minor style cleanup
[citadel.git] / citadel / citadel-slapd.conf
index 810ff9ba0f6e9ba7e108f9aeb93b7ec23037bbe3..d4b3cf67455af74f6ed00fcb54c99267cd909014 100644 (file)
@@ -1,18 +1,30 @@
-include /usr/local/citadel/citadel-openldap.schema
+# This is a sample OpenLDAP configuration file (usually placed in
+# /etc/openldap/slapd.conf) for use with the Citadel LDAP connector.
+#
+# In this sample, we have a server called "servername.domain.org" and
+# we've built our directory tree's Base DN using the components of that
+# domain name.  You can change this if you'd like.
+#
+# Once you've got this in place, all you have to do is run slapd, configure
+# Citadel to point its LDAP connector at it, and run the IGAB command to
+# initialize the directory.
+
+# A sample schema is included, but you're probably better off
+# just going with "schemacheck off" and using whatever schema came with
+# your system's slapd.
+#
+# include /usr/local/citadel/citadel-openldap.schema
 
 pidfile                /usr/local/citadel/openldap-data/slapd.pid
 argsfile       /usr/local/citadel/openldap-data/slapd.args
 
-database bdb
-suffix "dc=servername,dc=domain,dc=org"
-rootdn "cn=manager,dc=servername,dc=domain,dc=org"
-rootpw secret
-
-directory /usr/local/citadel/openldap-data
-
-index  objectClass     eq
-
-
-
+database       ldbm
+schemacheck    off
+allow          bind_v2
+suffix         "dc=servername,dc=domain,dc=org"
+rootdn         "cn=manager,dc=servername,dc=domain,dc=org"
+rootpw         secret
 
+directory      /usr/local/citadel/openldap-data
 
+index          objectClass     eq