From: Jens V. <je...@zo...> - 2002-12-24 15:03:06
|
for one of my python-ldap-based applications i am trying to make it behave correctly in a situation where it is talking to a slave that wants to defer to a master for certain updates. i have done some testing by setting up a master and slave and using the "updateref" directive in the slave's slapd.conf. according to the OpenLDAP documentation that should cause the slave to hand back the URI designated in the updateref directive if someone attempts a write. however, it doesn't seem to work, at least from python-ldap. i can modify records on the slave all day long and it does not hand back the master's URI. at the python prompt, after binding with a suitable DN i also do... conn.set_option(ldap.OPT_DEREF, ldap.DEREF_ALWAYS) but this does not seem to make a change. does anyone have this working with python-ldap? is my slave server configured incorrectly? jens |