summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-06-08 10:03:18 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-06-08 10:03:18 (GMT)
commit162e1b99c23ff938537a94879f1281fbdaf3659a (patch)
tree07321c3a74953b56112e8821d7a022b18a55b7a1
parentf42b985e122a761c4575b416c23832f874b243df (diff)
downloadcfdt-162e1b99c23ff938537a94879f1281fbdaf3659a.zip
cfdt-162e1b99c23ff938537a94879f1281fbdaf3659a.tar.gz
cfdt-162e1b99c23ff938537a94879f1281fbdaf3659a.tar.bz2
base.ldif,db.ldif: ajout de l'overlay memberof
Il gère automatiquement les attributs cfdtMemberOfRole, cfdtMemberOfRegion et cfdtMemberOfFederation.
-rw-r--r--poc-1/base.ldif2
-rw-r--r--poc-1/db.ldif27
2 files changed, 28 insertions, 1 deletions
diff --git a/poc-1/base.ldif b/poc-1/base.ldif
index a5056c1..8167438 100644
--- a/poc-1/base.ldif
+++ b/poc-1/base.ldif
@@ -6,8 +6,8 @@ dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModulePath: /usr/lib/ldap
-olcModuleLoad: back_monitor
olcModuleLoad: back_mdb
+olcModuleLoad: memberof
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
diff --git a/poc-1/db.ldif b/poc-1/db.ldif
index af32e85..e7eb809 100644
--- a/poc-1/db.ldif
+++ b/poc-1/db.ldif
@@ -19,3 +19,30 @@ olcAccess: {2}to *
by * read
olcRootDN: dc=cfdt,dc=fr
olcRootPW: admin
+
+dn: olcOverlay={0}memberof,olcDatabase={1}mdb,cn=config
+objectClass: olcOverlayConfig
+objectClass: olcMemberOf
+olcOverlay: {0}memberof
+olcMemberOfDangling: drop
+olcMemberOfGroupOC: cfdtRole
+olcMemberOfMemberOfAD: cfdtMemberOfRole
+olcMemberOfRefInt: TRUE
+
+dn: olcOverlay={1}memberof,olcDatabase={1}mdb,cn=config
+objectClass: olcOverlayConfig
+objectClass: olcMemberOf
+olcOverlay: {1}memberof
+olcMemberOfDangling: drop
+olcMemberOfGroupOC: cfdtRegion
+olcMemberOfMemberOfAD: cfdtMemberOfRegion
+olcMemberOfRefInt: TRUE
+
+dn: olcOverlay={2}memberof,olcDatabase={1}mdb,cn=config
+objectClass: olcOverlayConfig
+objectClass: olcMemberOf
+olcOverlay: {2}memberof
+olcMemberOfDangling: drop
+olcMemberOfGroupOC: cfdtFederation
+olcMemberOfMemberOfAD: cfdtMemberOfFederation
+olcMemberOfRefInt: TRUE