diff options
author | Sumit Bose <sbose@redhat.com> | 2013-10-18 15:54:22 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-22 19:15:33 +0200 |
commit | 5fe6ca5e339fd345119752e996c14edf8db57660 (patch) | |
tree | 3fc3ba530922a48fe7b3413ae0ffd76cfc7aad78 /src/util/domain_info_utils.c | |
parent | fab48878db202d620f43c9da23e375866d1db2c6 (diff) | |
download | sssd-5fe6ca5e339fd345119752e996c14edf8db57660.tar.gz sssd-5fe6ca5e339fd345119752e996c14edf8db57660.tar.xz sssd-5fe6ca5e339fd345119752e996c14edf8db57660.zip |
sdap_get_generic_ext_send: check if we a re still connected
At the beginning of a LDAP request we check if we are connecte and have
a valid sdap handle. But for some requests more than one LDAP operation,
typically a search, is needed. Due to the asynchronous handling of LDAP
request it might be possible that a second request might detect a server
error and close the connection while the first request just finished one
LDAP search and wants to start a new LDAP search.
This patch tries to make sure that there is a valid sdap handle before
sending a LDAP search to the server.
Fixes https://fedorahosted.org/sssd/ticket/2126
Diffstat (limited to 'src/util/domain_info_utils.c')
0 files changed, 0 insertions, 0 deletions