[Freeipa-devel] [PATCH 0377-0382] Synchronize changes from LDAP after reconnect

Petr Spacek pspacek at redhat.com
Wed May 27 12:50:52 UTC 2015


Hello,

https://fedorahosted.org/bind-dyndb-ldap/ticket/128

Previously records deleted when connection to LDAP server was down were not
synchronized properly. It should work now.

I use this command to simulate broken connections and connection re-establishment:
$ socat tcp-listen:3899,reuseaddr,fork tcp-connect:localhost:389

It should be enough to add "ldap://$(hostname):3899" as LDAP URI to
/etc/named.conf and then simulate changes by killing and restarting socat.

Let me know if you need any assistance!

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0377-Add-functions-for-MetaLDAP-generation-number-manipul.patch
Type: text/x-patch
Size: 3404 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150527/c713346c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0378-Increment-MetaLDAP-generation-number-on-reconnect.patch
Type: text/x-patch
Size: 799 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150527/c713346c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0379-Add-iterators-for-dead-nodes-in-metaLDAP.patch
Type: text/x-patch
Size: 10567 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150527/c713346c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0380-On-reconnect-detect-and-delete-RBT-nodes-which-were-.patch
Type: text/x-patch
Size: 2073 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150527/c713346c/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0381-Consolidate-synchronization-state-machine-to-sync_st.patch
Type: text/x-patch
Size: 4652 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150527/c713346c/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0382-Avoid-synchronization-state-resets.patch
Type: text/x-patch
Size: 3090 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150527/c713346c/attachment-0005.bin>


More information about the Freeipa-devel mailing list