Hi,
I'm trying to setup an LDAP Proxy using the slapd-meta database.
Is there a way to define different servers per operation? I want servers r1 and r2 for read only operations and server w1 w2 for write operations (add, delete etc) for a single suffix.
Is this possible with openldap? I've seen about the "default-target" directive but it's not clear what it actually does.
best regards,
Giannis
Hi Giannis,
a solution is to use the chase referal option. With this, a write operation on a read only LDAP directory will be returned to the proxy which will follow the referal and update the master directory. This is fully transparent for LDAP clients.
Clément.
2011/8/31, Kapetanakis Giannis bilias@edu.physics.uoc.gr:
Hi,
I'm trying to setup an LDAP Proxy using the slapd-meta database.
Is there a way to define different servers per operation? I want servers r1 and r2 for read only operations and server w1 w2 for write operations (add, delete etc) for a single suffix.
Is this possible with openldap? I've seen about the "default-target" directive but it's not clear what it actually does.
best regards,
Giannis
On 31/08/11 19:25, Clément OUDOT wrote:
Hi Giannis,
a solution is to use the chase referal option. With this, a write operation on a read only LDAP directory will be returned to the proxy which will follow the referal and update the master directory. This is fully transparent for LDAP clients.
Clément.
Thanx for the nice tip.
One more question: If I define multiple URIs (multiple servers) and the first one goes down then according to the manual the URI list is rearranged and the first will go to the end. Is there a way to make some kind of health check in order for the server to become first in list when it's back online?
regards,
Giannis
openldap-technical@openldap.org