[SSSD] [PATCH] Handle timeout during sss_ldap_init_send

Stephen Gallagher sgallagh at redhat.com
Mon Aug 15 19:24:07 UTC 2011


On Mon, 2011-08-15 at 15:21 -0400, Stephen Gallagher wrote:
> On Mon, 2011-08-15 at 17:53 +0200, Jakub Hrozek wrote:
> > In some cases, where there would be no response from the LDAP server,
> > there would be no R/W events on the LDAP fd, so
> > sdap_async_sys_connect_done would never be called.
> > 
> > This patch adds a tevent timer that cancels the connection after
> > SDAP_NETWORK_TIMEOUT seconds.
> > 
> > A simple testcase is enabling DROP iptables rules on the LDAP server.
> 
> Ack and pushed to master.

Also pushed to sssd-1-5 and sssd-1-6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110815/5d9978b5/attachment.sig>


More information about the sssd-devel mailing list