summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-03-10 12:48:16 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-03-23 08:33:46 +0100
commitb123a618dd8837f8a2db385542f0d7f3d7679d9b (patch)
tree36effde27949cd40f19e94fcbbed304fe812f2e3 /src/providers/ldap/sdap_async.h
parentef9ca5848ea08aafa0827f5d2922d49130ba324d (diff)
downloadsssd-b123a618dd8837f8a2db385542f0d7f3d7679d9b.tar.gz
sssd-b123a618dd8837f8a2db385542f0d7f3d7679d9b.tar.xz
sssd-b123a618dd8837f8a2db385542f0d7f3d7679d9b.zip
SDAP: Make simple bind timeout configurable
Resolves: https://fedorahosted.org/sssd/ticket/1501 Reuse the value of sdap_opt_timeout to set a longer bind timeout for user authentication, ID connection authentication and authentication during IPA migration mode. Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r--src/providers/ldap/sdap_async.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h
index ef9b3bbad..941b81a41 100644
--- a/src/providers/ldap/sdap_async.h
+++ b/src/providers/ldap/sdap_async.h
@@ -122,7 +122,8 @@ struct tevent_req *sdap_auth_send(TALLOC_CTX *memctx,
const char *sasl_mech,
const char *sasl_user,
const char *user_dn,
- struct sss_auth_token *authtok);
+ struct sss_auth_token *authtok,
+ int simple_bind_timeout);
errno_t sdap_auth_recv(struct tevent_req *req,
TALLOC_CTX *memctx,