diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-08-15 17:46:04 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-15 15:22:04 -0400 |
commit | bba376bff88042bb04ac89e9b3167ae89c57a953 (patch) | |
tree | a41cd139d10e4a7d49493e68e0d95f4df2185b0e /src/tests/util-tests.c | |
parent | 194a6c52d21ff7881d6d685aa21c0a7076e8f3c7 (diff) | |
download | sssd-bba376bff88042bb04ac89e9b3167ae89c57a953.tar.gz sssd-bba376bff88042bb04ac89e9b3167ae89c57a953.tar.xz sssd-bba376bff88042bb04ac89e9b3167ae89c57a953.zip |
Handle timeout during sss_ldap_init_send
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.
Diffstat (limited to 'src/tests/util-tests.c')
0 files changed, 0 insertions, 0 deletions