Re: Python ldap and syncrepl controls

2009-10-13 Thread Michael Ströder
Sean Burford wrote: > > I've been working on implementing an RFC 4533 syncrepl consumer using > python-ldap. I can't work out why I can't get the SyncDoneControl that > is returned with the LDAP_RES_SEARCH_RESULT through python-ldap. Sean, could you please re-try with current python-ldap CVS HEA

Re: Python ldap and syncrepl controls

2009-03-17 Thread Sean Burford
Hi, If I switch the control from RefreshPersist(3) to RefreshOnly(1) I get an LDAP_RES_SEARCH_RESULT instead of LDAP_RES_INTERMEDIATE carrying the SyncDoneControl. Strangely enough, the LDAP_RES_SEARCH_RESULT makes it back to my code with an intact control: rtype=101 rdata=[] rmsgid=1 serverctrl

Python ldap and syncrepl controls

2009-03-17 Thread Sean Burford
Hi, I've been working on implementing an RFC 4533 syncrepl consumer using python-ldap. I can't work out why I can't get the SyncDoneControl that is returned with the LDAP_RES_SEARCH_RESULT through python-ldap. The SyncDoneControl contains the cookie that is needed for stateful/minimal syncrepl r