Use database name for Base DN in replication. Works better in multi DB LDAP configuration.

This commit is contained in:
Ossi Herrala 2013-02-07 10:50:37 +00:00
parent 6bacdd65ee
commit a1b6379b9a

View file

@ -40,7 +40,7 @@ syncrepl rid=2
provider=<%= master %>
type=refreshAndPersist
retry="10 10 60 +"
searchbase="<%= ldap_basedn %>"
searchbase="<%= name %>"
filter="(objectClass=*)"
scope="sub"
sizelimit=500000
@ -48,7 +48,7 @@ syncrepl rid=2
schemachecking="off"
bindmethod="simple"
tls_reqcert="never"
binddn="uid=replicator,cn=config,<%= ldap_basedn %>"
binddn="uid=replicator,cn=config,<%= name %>"
credentials="<%= syncpw %>"
updateref <%= master %>
<% end -%>