From 4693cbb967badda8d2c03e6ad3d252808d5949af Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 31 Jan 2004 05:46:05 +0000 Subject: [PATCH] * 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. --- citadel/citadel-slapd.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 citadel/citadel-slapd.conf 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 + + + + + -- 2.39.2