Hi, situation: its need to synchronize 2 servers with 2 or more different filters or searchbases, like: ----- searchbase="(ou=111...dc=org),(ou=222...dc=org)", or filter="(ou=111),(ou=222)" --- is correct syntax? would it works??
A Molchanov vip43@mail.ru writes:
Hi, situation: its need to synchronize 2 servers with 2 or more different filters or searchbases, like:
searchbase="(ou=111...dc=org),(ou=222...dc=org)",
this wouldn't work of the box as only one searchbase may be specified, but you may establish back-meta or some overlay to provide a consolidated view.
or filter="(ou=111),(ou=222)"
is correct syntax? would it works??
No, syntax is defined in rfc 4515, something like filter="(|(ou=111)(ou=222)" may work, depending on your setup and requirements.
-Dieter
Hello,
A Molchanov wrote:
filter="(ou=111),(ou=222)"
See http://www.ietf.org/rfc/rfc2254.txt for filter syntax, in your case it would be "(|(ou=111)(ou=222))" except that it probably wouldn't work, since the filter only matches entries containing these attributes.
Perhaps it is possible (at least the Adminguide doesn't speak against it) to use several instances of "syncrepl" in your configuration, each with a different rid.
bye Christian
Christian Marg wrote:
Hello,
A Molchanov wrote:
filter="(ou=111),(ou=222)"
See http://www.ietf.org/rfc/rfc2254.txt for filter syntax, in your case it would be "(|(ou=111)(ou=222))" except that it probably wouldn't work, since the filter only matches entries containing these attributes.
Perhaps it is possible (at least the Adminguide doesn't speak against it) to use several instances of "syncrepl" in your configuration, each with a different rid.
bye Christian
This has been replaced by http://www.rfc-editor.org/rfc/rfc4515.txt
Thanks.
openldap-software@openldap.org