From 02c2a696c5ea47b8ce1168c4a35e95814d972ced Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 9 Apr 2004 14:43:54 +0000 Subject: [PATCH] Modif Object Class --- htdocs/contact.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index a76c25de516..1e522abc41e 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -136,8 +136,10 @@ class Contact //$info["postalCode"] = "postalCode"; //$info["postalAddress"] = "postalAddress"; - $info["objectclass"] = "inetOrgPerson organizationalPerson"; - + $info["objectclass"][0] = "organizationalPerson"; + $info["objectclass"][1] = "inetOrgPerson"; + $info["objectclass"][2] = "phpgwContact"; // compatibilite egroupware + // add data to directory $dn = utf8_encode("cn=".$this->old_firstname." ".$this->old_name).", ".LDAP_SERVER_DN ;