From 45f0709f8de1712c236dd20dc7899c59b4fcdb32 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 29 May 2011 12:09:31 +0000 Subject: move the monitor db at the beggining of the file, so we can add syncrepl config to the end of the db --- modules/openldap/templates/slapd.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/openldap') diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf index 84600e36..bc8f14c9 100644 --- a/modules/openldap/templates/slapd.conf +++ b/modules/openldap/templates/slapd.conf @@ -49,6 +49,12 @@ security ssf=56 loglevel 256 +database monitor +access to dn.subtree="cn=Monitor" + by group.exact="cn=LDAP Monitors,ou=System Groups,<%= dc_suffix %>" read + by group.exact="cn=LDAP Admins,ou=System Groups,<%= dc_suffix %>" read + by * none + database bdb suffix "<%= dc_suffix %>" directory /var/lib/ldap @@ -106,10 +112,4 @@ authz-regexp ^uid=([^,]+),cn=[^,]+,cn=auth$ uid=$1,ou=People,<%= dc_suffix %> include /etc/openldap/mandriva-dit-access.conf -database monitor -access to dn.subtree="cn=Monitor" - by group.exact="cn=LDAP Monitors,ou=System Groups,<%= dc_suffix %>" read - by group.exact="cn=LDAP Admins,ou=System Groups,<%= dc_suffix %>" read - by * none - -- cgit v1.2.1