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:
iarenaza
2008-01-05 14:33:55 +00:00
parent 528ddea1b3
commit 4abc7c0630
+1 -1
View File
@@ -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);
}