From 92ab9ab4304d8c96d4511aafe8fd90558d7e16da Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 9 Apr 2004 14:50:38 +0000 Subject: [PATCH] Nouveau test objectClass --- htdocs/contact.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index 1e522abc41e..95dfcf9489f 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -136,9 +136,11 @@ class Contact //$info["postalCode"] = "postalCode"; //$info["postalAddress"] = "postalAddress"; - $info["objectclass"][0] = "organizationalPerson"; - $info["objectclass"][1] = "inetOrgPerson"; - $info["objectclass"][2] = "phpgwContact"; // compatibilite egroupware + $info["objectclass"][0] = "top"; + $info["objectclass"][1] = "person"; + $info["objectclass"][2] = "organizationalPerson"; + $info["objectclass"][3] = "inetOrgPerson"; + $info["objectclass"][4] = "phpgwContact"; // compatibilite egroupware // add data to directory $dn = utf8_encode("cn=".$this->old_firstname." ".$this->old_name).", ".LDAP_SERVER_DN ;