summaryrefslogtreecommitdiffstats
path: root/roles/common-LDAP
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-11 10:56:46 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-11 10:56:46 +0200
commit56f58418111b90c254628a7631808f1511832f4d (patch)
treed8285e51f5602c9ee0a8f2151ddccca9b77ae4aa /roles/common-LDAP
parentf6e10c1db16267ec433445e74bc9a03f6bb3dd7e (diff)
Set a rootdn on cn=Monitor.
Diffstat (limited to 'roles/common-LDAP')
-rw-r--r--roles/common-LDAP/templates/etc/ldap/database.ldif.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/common-LDAP/templates/etc/ldap/database.ldif.j2 b/roles/common-LDAP/templates/etc/ldap/database.ldif.j2
index 5f9d8b1..8310818 100644
--- a/roles/common-LDAP/templates/etc/ldap/database.ldif.j2
+++ b/roles/common-LDAP/templates/etc/ldap/database.ldif.j2
@@ -50,6 +50,7 @@ olcPasswordCryptSaltFormat: $6$%s
dn: olcDatabase=monitor,cn=config
objectClass: olcDatabaseConfig
objectClass: olcMonitorConfig
+olcRootDN: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
olcAccess: to dn.subtree="cn=monitor"
by dn.exact="username=munin,cn=peercred,cn=external,cn=auth" sockurl.regex="^ldapi://" read
by * =0