MDL-10921 Fix backport of patch to 1.7.x (was using the new plugin settings syntax).
Thanks to Patrick Pollet for pointing this out and providing a fix.
This commit is contained in:
+1
-1
@@ -1363,7 +1363,7 @@ function auth_ldap_connect($binddn='',$bindpwd=''){
|
||||
}
|
||||
|
||||
// Fix MDL-10921
|
||||
if ($this->config->user_type == 'ad') {
|
||||
if ($CFG->ldap_user_type == 'ad') {
|
||||
ldap_set_option($connresult, LDAP_OPT_REFERRALS, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user