* 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.
--- /dev/null
+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
+
+
+
+
+