From: skodak Date: Sat, 9 Jun 2007 15:33:22 +0000 (+0000) Subject: MDL-10061 LDAP user creation broken for Novell eDirectory since 1.8; patch by Iñaki... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7a4025d0b66938260274357252265be0b83c89b0;p=moodle.git MDL-10061 LDAP user creation broken for Novell eDirectory since 1.8; patch by Iñaki Arenaza --- diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index da424a1e3f..c5db12b289 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -279,7 +279,7 @@ class auth_plugin_ldap extends auth_plugin_base { $newuser['uniqueId'] = $extusername; $newuser['logindisabled'] = "TRUE"; $newuser['userpassword'] = $extpassword; - $uadd = $this->ldap_add($ldapconnection, $this->config->user_attribute.'="'.$this->ldap_addslashes($userobject->username).','.$this->config->create_context.'"', $newuser); + $uadd = ldap_add($ldapconnection, $this->config->user_attribute.'="'.$this->ldap_addslashes($userobject->username).','.$this->config->create_context.'"', $newuser); break; case 'ad': // User account creation is a two step process with AD. First you