[Date Prev][Date Next] [Chronological] [Thread] [Top]

about slave slapd's updateref



when we built replication service for directory, the slurpd wrote data to
slave. OPENLDAP administrator guide has given a scenario:

1.The LDAP client submits an LDAP modify operation to the slave slapd.
2.The slave slapd returns a referral to the LDAP client referring the client
to the master slapd.
3.The LDAP client submits the LDAP modify operation to the master slapd.
4.The master slapd performs the modify operation, writes out the change to
its replication log file and returns a success code to the client.
5.The slurpd process notices that a new entry has been appended to the
replication log file, reads the replication log entry, and sends the change
to the slave slapd via LDAP.
6.The slave slapd performs the modify operation and returns a success code
to the slurpd process.

but ,the problem is : when we submit a modify or read or other operation to
the slave slapd, how does it know which master the DN we operated belongs to
? because the master may be different slapds , and the replications may be
restricted using "suffix" .
I have configured both updatedn & updateref.
I tried a modify operation, but the slave slapd only update the local data
copied from master, do not return any referral information to master.
anybody could tell me why? I use openldap-2.1.16.

thank you very much

Alexandre Tsu,

______________________________________

===================================================================