From 5dedf3b183ca8ada10f4bac7f42785ce56ae1d4e Mon Sep 17 00:00:00 2001 From: afornerot Date: Wed, 27 Jan 2021 10:45:11 +0100 Subject: [PATCH] LDAP_OPT_REFERRALS --- src/ninegate-1.0/src/Cadoles/CoreBundle/Service/ldapService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/ldapService.php b/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/ldapService.php index 0b83aa50..3122fe53 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/ldapService.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/ldapService.php @@ -52,6 +52,7 @@ class ldapService if($ldapConn){ ldap_set_option($ldapConn, LDAP_OPT_PROTOCOL_VERSION, 3); + ldap_set_option($ldapConn, LDAP_OPT_REFERRALS, 0); if($this->tls) ldap_start_tls($ldapConn); if(ldap_bind( $ldapConn, $this->user, $this->password)){