summaryrefslogtreecommitdiff
path: root/source4/setup/mmr_syncrepl.conf
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-19 14:10:14 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-19 14:10:14 +1000
commit7ef21658fbb519859aa7d23a614e1fdbcae95693 (patch)
treed75f21082778eeae37f343b62b62f905274cf3fb /source4/setup/mmr_syncrepl.conf
parent805dd85291fa55695ee7ae2b8f6d3c168d9186e8 (diff)
downloadsamba-7ef21658fbb519859aa7d23a614e1fdbcae95693.tar.gz
samba-7ef21658fbb519859aa7d23a614e1fdbcae95693.tar.bz2
samba-7ef21658fbb519859aa7d23a614e1fdbcae95693.zip
Fix up new OpenLDAP MMR code.
This changes the MMR password from hard-coded value of 'linux', adds tests and fixes the Fedora DS backend. Currently the MMR password matches the admin password, but we can change this to be another random value if required. Also require the port to be specified on the command line, so we don't hard-code a port of 9000. Andrew Bartlett (This used to be commit 08257c6d6ce809fcd53f9b2b4d558fef616b74ce)
Diffstat (limited to 'source4/setup/mmr_syncrepl.conf')
-rw-r--r--source4/setup/mmr_syncrepl.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/setup/mmr_syncrepl.conf b/source4/setup/mmr_syncrepl.conf
index 857f044ccd..5fa8b8f8a0 100644
--- a/source4/setup/mmr_syncrepl.conf
+++ b/source4/setup/mmr_syncrepl.conf
@@ -1,10 +1,12 @@
+# Generated from template mmr_syncrepl.conf
+
syncrepl rid=${RID}
- provider="${LDAPSERVER}:9000"
+ provider="${LDAPSERVER}"
searchbase="${MMRDN}"
type=refreshAndPersist
retry="10 +"
bindmethod=simple
binddn="CN=Manager,${MMRDN}"
- credentials="linux"
+ credentials="${MMR_PASSWORD}"