> Hello i'm trying to create a network of ldap servers, with 1 master and > some slaves, but i have 1 problem. is it possible to query a slave to > add a new entry and the slave says to the master that is something to > write and the master do it??? > Maybe i didnt explain correctly. > i say to /slaveA/ to add a new user, the /slaveA/ contacts the /master/ > just sending the request. /Master/ then writes in is directory the new > user and *slurp* put it in the slave. this is what i meant to say.
Usually, in the scenario you describe, the slave tells the client to do that by returning a referral to the master. With OpenLDAP 2.3, you can use the slapo-chain (chain overlay) instantiated as a global overlay to obtain exactly what you describe. To see an example, you need to run test007 from OpenLDAP 2.3 and look at the resulting master and slave slapd.conf (you'll find them in tests/testrun/slapd.<i>.conf (<i>==1 for the master and <i>==2 for the slave). The same works for syncrepl as well. p. -- Pierangelo Masarati mailto:[EMAIL PROTECTED] SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
