first commit
This commit is contained in:
35
ldap/patchs/slapd.conf.patch
Normal file
35
ldap/patchs/slapd.conf.patch
Normal file
@ -0,0 +1,35 @@
|
||||
--- 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
|
Reference in New Issue
Block a user