From: Art Cancro Date: Sat, 31 Jan 2004 05:46:05 +0000 (+0000) Subject: * citadel-openldap.schema: added. (OpenLDAP schema for Citadel) X-Git-Tag: v7.86~5640 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=4693cbb967badda8d2c03e6ad3d252808d5949af;p=citadel.git * citadel-openldap.schema: added. (OpenLDAP schema for Citadel) * citadel-slapd.conf: added. (Sample OpenLDAP configuration) * serv_ldap.c: after binding to the LDAP server, create the node for the base DN if it isn't there. When creating a node for the user, also create a node for the user's OU if it isn't there. --- diff --git a/citadel/citadel-slapd.conf b/citadel/citadel-slapd.conf new file mode 100644 index 000000000..810ff9ba0 --- /dev/null +++ b/citadel/citadel-slapd.conf @@ -0,0 +1,18 @@ +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 + + + + +