summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_access.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-01-12 11:31:24 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-01-17 07:59:54 -0500
commita530a96721d8106a6839b6b643b0abc5d7a7b9e0 (patch)
treed53aaff43201c62d8d97db5509b4506e6f3a2746 /src/providers/ldap/sdap_access.c
parentcbe7c54c2caf718bdea7ca6660ba8193d759d2d5 (diff)
downloadsssd-a530a96721d8106a6839b6b643b0abc5d7a7b9e0.tar.gz
sssd-a530a96721d8106a6839b6b643b0abc5d7a7b9e0.tar.xz
sssd-a530a96721d8106a6839b6b643b0abc5d7a7b9e0.zip
Add timeout parameter to sdap_get_generic_send()
Diffstat (limited to 'src/providers/ldap/sdap_access.c')
-rw-r--r--src/providers/ldap/sdap_access.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index ce2d5357d..df433b69e 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -625,7 +625,9 @@ static void sdap_access_filter_connect_done(struct tevent_req *subreq)
state->basedn,
LDAP_SCOPE_BASE,
state->filter, NULL,
- NULL, 0);
+ NULL, 0,
+ dp_opt_get_int(state->sdap_ctx->opts->basic,
+ SDAP_SEARCH_TIMEOUT));
if (subreq == NULL) {
DEBUG(1, ("Could not start LDAP communication\n"));
state->pam_status = PAM_SYSTEM_ERR;