aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-05-29 12:09:31 +0000
committerMichael Scherer <misc@mageia.org>2011-05-29 12:09:31 +0000
commit45f0709f8de1712c236dd20dc7899c59b4fcdb32 (patch)
tree6ce8c18752034c4e61e36ff487eb4326087db867 /modules/openldap
parenta2b9f58a22f444c800cb23870974461285a7ddc1 (diff)
downloadpuppet-45f0709f8de1712c236dd20dc7899c59b4fcdb32.tar
puppet-45f0709f8de1712c236dd20dc7899c59b4fcdb32.tar.gz
puppet-45f0709f8de1712c236dd20dc7899c59b4fcdb32.tar.bz2
puppet-45f0709f8de1712c236dd20dc7899c59b4fcdb32.tar.xz
puppet-45f0709f8de1712c236dd20dc7899c59b4fcdb32.zip
move the monitor db at the beggining of the file, so we can
add syncrepl config to the end of the db
Diffstat (limited to 'modules/openldap')
-rw-r--r--modules/openldap/templates/slapd.conf12
1 files changed, 6 insertions, 6 deletions
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
-