mirror of
https://github.com/curl/curl.git
synced 2026-06-02 07:34:15 +03:00
ldap: switch of chasing referrals
It is switched off in the OpenLDAP backend, so we should do the
same here.
Follow-up to cdc1da9120
Closes #21732
This commit is contained in:
parent
0b8dbbc63c
commit
230a986636
1 changed files with 3 additions and 0 deletions
|
|
@ -315,6 +315,9 @@ static CURLcode ldap_do(struct Curl_easy *data, bool *done)
|
|||
#endif
|
||||
ldap_set_option(server, LDAP_OPT_PROTOCOL_VERSION, &ldap_proto);
|
||||
|
||||
/* Do not chase referrals. */
|
||||
ldap_set_option(server, LDAP_OPT_REFERRALS, LDAP_OPT_OFF);
|
||||
|
||||
if(ldap_ssl) {
|
||||
#ifdef HAVE_LDAP_SSL
|
||||
#ifdef USE_WIN32_LDAP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue