diff options
| author | Luke Howard <lukeh@padl.com> | 2017-09-28 08:53:15 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-28 08:53:15 +1000 |
| commit | 6082484b2b85626f31e998557323503cd03de32f (patch) | |
| tree | c2b591e6785988140369615bc7350b102dff7282 | |
| parent | 4a53247b1f189ea595a096e996ce26f3cb77ef48 (diff) | |
| parent | 79bff5b4bb9f543254a84dcf3c47e11112e3dbc9 (diff) | |
Merge pull request #2 from dhawes/mastermaster
Use the bind_timelimit when binding.
| -rw-r--r-- | pam_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2179,7 +2179,7 @@ retry: } #endif /* HAVE_LDAP_SASL_BIND && LDAP_SASL_SIMPLE */ - timeout.tv_sec = 10; + timeout.tv_sec = session->conf->bind_timelimit; /* default 10 */ timeout.tv_usec = 0; rc = ldap_result (session->ld, msgid, FALSE, &timeout, &result); if (rc == -1 || rc == 0) |
