Merge branch 'MDL-34319_master' of https://github.com/markn86/moodle

This commit is contained in:
Damyon Wiese 2014-02-24 11:08:03 +08:00
commit 0721fb9113

View File

@ -422,6 +422,7 @@ class auth_plugin_cas extends auth_plugin_ldap {
// Test for group creator
if (!empty($this->config->groupecreators)) {
$ldapconnection = $this->ldap_connect();
if ($this->config->memberattribute_isdn) {
if(!($userid = $this->ldap_find_userdn($ldapconnection, $extusername))) {
return false;