From c01e7c348261ceb96bf898e1c5a26773313fb7f3 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 5 May 2004 12:35:24 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=E0=20jour=20ldap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/contact.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index fd4101c4376..f916b3e9194 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -103,7 +103,7 @@ class Contact if (defined('MAIN_MODULE_LDAP') && MAIN_MODULE_LDAP) { - update_ldap($user); + $this->update_ldap($user); } return $result; } @@ -158,7 +158,7 @@ class Contact $info["objectclass"][1] = "inetOrgPerson"; $info["objectclass"][2] = "phpgwContact"; // compatibilite egroupware - $info['uidnumber'] = $id; + $info['uidnumber'] = $this->id; $info['phpgwTz'] = 0; $info['phpgwMailType'] = 'INTERNET'; @@ -182,6 +182,7 @@ class Contact if (! ldap_add($ds, $dn, $info)) { $this->error[0] = ldap_err2str(ldap_errno($ds)); + var_dump($info); } } else