]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add timeout here, too
authorAlan T. DeKok <aland@freeradius.org>
Wed, 11 May 2016 20:06:00 +0000 (16:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 11 May 2016 20:06:00 +0000 (16:06 -0400)
src/modules/rlm_ldap/ldap.c

index 8345442fe364dc4f762bc4a7d40c5f70a020e7eb..9e5e0c874b5eb6a04b3b632e4330ecb3bd36a679 100644 (file)
@@ -819,7 +819,7 @@ ldap_rcode_t rlm_ldap_bind(rlm_ldap_t const *inst,
                                ROPTIONAL(RDEBUG2, DEBUG2, "Waiting for bind result...");
                        }
 
-                       status = rlm_ldap_result(inst, *pconn, msgid, dn, NULL, NULL, &error, &extra);
+                       status = rlm_ldap_result(inst, *pconn, msgid, dn, timeout, NULL, &error, &extra);
                }
 
                switch (status) {