aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap/templates/slapd.syncrepl.conf
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-05-29 12:09:32 +0000
committerMichael Scherer <misc@mageia.org>2011-05-29 12:09:32 +0000
commitf2fc3f8018963620e3d9772ce5544aace82ecb22 (patch)
tree741720305704572264060434111520959817172a /modules/openldap/templates/slapd.syncrepl.conf
parent45f0709f8de1712c236dd20dc7899c59b4fcdb32 (diff)
downloadpuppet-f2fc3f8018963620e3d9772ce5544aace82ecb22.tar
puppet-f2fc3f8018963620e3d9772ce5544aace82ecb22.tar.gz
puppet-f2fc3f8018963620e3d9772ce5544aace82ecb22.tar.bz2
puppet-f2fc3f8018963620e3d9772ce5544aace82ecb22.tar.xz
puppet-f2fc3f8018963620e3d9772ce5544aace82ecb22.zip
add a slave class to create a 2nd ldap
Diffstat (limited to 'modules/openldap/templates/slapd.syncrepl.conf')
-rw-r--r--modules/openldap/templates/slapd.syncrepl.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/openldap/templates/slapd.syncrepl.conf b/modules/openldap/templates/slapd.syncrepl.conf
new file mode 100644
index 00000000..6f5a69cb
--- /dev/null
+++ b/modules/openldap/templates/slapd.syncrepl.conf
@@ -0,0 +1,11 @@
+syncrepl rid=<%= rid %>
+ provider=ldaps://ldap-master.<%= domain %>:636
+ type=refreshAndPersist
+ searchbase="<%= dc_domain %>"
+ schemachecking=off
+ bindmethod=simple
+ binddn="cn=syncuser-<%= hostname%>,<%= dc_domain %>"
+ credentials=<%= sync_password %>
+
+updateref= ldaps://ldap-master.<%= domain %>:636
+