cadolesldap/ldap/patchs/slapd.conf.patch

36 lines
977 B
Diff
Raw Normal View History

2018-12-18 09:39:17 +01:00
--- distrib/slapd.conf 2017-11-14 15:48:53.000000000 +0100
+++ modif/slapd.conf 2018-03-26 17:01:41.136558718 +0200
@@ -23,6 +23,8 @@
%elif %%ldap_schema == 'zephir'
include /etc/ldap/schema/openldap.schema
%end if
+include /etc/ldap/schema/cadoles.schema
+
## Support du TLS
TLSCertificateFile %%server_cert
@@ -43,6 +45,9 @@
# Where the dynamically loaded modules are stored
modulepath /usr/lib/ldap
moduleload back_bdb
+# moduleload dynlist
+moduleload memberof
+
%if %%ldap_replication == 'oui' or %%ldap_replication_client == 'oui'
moduleload syncprov
%end if
@@ -96,6 +101,13 @@
# Mode 700 recommended.
directory /var/lib/ldap
+#overlay dynlist
+#dynlist-attrset cadolesPerson labeledURI cadolesMemberOf
+
+overlay memberof
+memberof-group-oc cadolesGroup
+memberof-member-ad cadolesMember
+
# Indices to maintain
index objectClass eq
index uid,cn,sn eq,subinitial