[SSSD] [PATCH] Handle timeout during sss_ldap_init_send

Stephen Gallagher sgallagh at redhat.com
Mon Aug 15 19:21:37 UTC 2011


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.
-------------- 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/6a182320/attachment.sig>


More information about the sssd-devel mailing list