← Commit list

230a986636

Stefan Eissing
Stefan Eissing
2026-05-25
SUCCESS Duration: 268s

Subject

ldap: switch of chasing referrals

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/ldap.c+3 -0
@@ -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