cadolesldap/ldap/patchs/slapd.conf.patch

27 lines
782 B
Diff
Raw Normal View History

2020-03-24 09:17:57 +01:00
--- distrib/slapd.conf 2019-06-04 11:18:04.000000000 +0200
+++ modif/slapd.conf 2020-03-24 09:10:44.724586266 +0100
@@ -23,6 +23,7 @@
2018-12-18 09:39:17 +01:00
%elif %%ldap_schema == 'zephir'
include /etc/ldap/schema/openldap.schema
%end if
+include /etc/ldap/schema/cadoles.schema
## Support du TLS
2020-03-24 09:17:57 +01:00
TLSCertificateFile /etc/ldap/ssl/certs/openldap.crt
@@ -46,6 +47,7 @@
2018-12-18 09:39:17 +01:00
%if %%ldap_replication == 'oui' or %%ldap_replication_client == 'oui'
moduleload syncprov
%end if
2020-03-24 09:17:57 +01:00
+moduleload memberof
2018-12-18 09:39:17 +01:00
2020-03-24 09:17:57 +01:00
# Sample security restrictions
# Require integrity protection (prevent hijacking)
@@ -219,3 +221,7 @@
%if %%ldap_replication_client == 'oui'
include /etc/ldap/replication.conf
%end if
2018-12-18 09:39:17 +01:00
+
+overlay memberof
+memberof-group-oc cadolesGroup
+memberof-member-ad cadolesMember