Hi,

functionality seems to work fine. I have not checked the code thoroughly.
Kind of a test is attached (requires setting named's ldap connection 
appropriately).

ACK

Matúš Honěk


----- Original Message -----
From: "Petr Spacek" <pspa...@redhat.com>
To: tho...@redhat.com, "Matus Honek" <mho...@redhat.com>
Cc: freeipa-devel@redhat.com
Sent: Wednesday, May 27, 2015 2:50:52 PM
Subject: [PATCH 0377-0382] Synchronize changes from LDAP after reconnect

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

Attachment: test-resync-on-unavailability.sh
Description: application/shellscript

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to