From 7a4025d0b66938260274357252265be0b83c89b0 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 9 Jun 2007 15:33:22 +0000 Subject: [PATCH] =?utf8?q?MDL-10061=20LDAP=20user=20creation=20broken=20fo?= =?utf8?q?r=20Novell=20eDirectory=20since=201.8;=20patch=20by=20I=C3=B1aki?= =?utf8?q?=20Arenaza?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- auth/ldap/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5