for example, there are 1000 entries like this:
sub=1,dc=root sub=..., dc=root sub=1000, dc=root
i wanna sub=1..500 located on server1 and sub=501...1000 on server2 (no referal). can openldap do that ? i have tried backend meta but it seems cant work.
thanks in advance
Zhang William wrote:
for example, there are 1000 entries like this:
sub=1,dc=root sub=..., dc=root sub=1000, dc=root
i wanna sub=1..500 located on server1 and sub=501...1000 on server2 (no referal). can openldap do that ? i have tried backend meta but it seems cant work.
Not currently, no. You're welcome to submit a patch. Certainly it'd be useful.
Zhang William wrote:
for example, there are 1000 entries like this:
sub=1,dc=root sub=..., dc=root sub=1000, dc=root
i wanna sub=1..500 located on server1 and sub=501...1000 on server2 (no referal). can openldap do that ? i have tried backend meta but it seems cant work.
It can, with a bit of work with rewrite rules. We also have a patch that allows more and more granularity in deciding where a non-existing entry will be located in a distributed database, based on the DN (or, content-based knowledge can be exploited by other operations to optimize candidate selection). Eventually, we plan to contribute it.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ------------------------------------------ Office: +39.02.23998309 Mobile: +39.333.4963172 Email: pierangelo.masarati@sys-net.it ------------------------------------------
openldap-software@openldap.org