Modif Object Class

This commit is contained in:
Rodolphe Quiedeville 2004-04-09 14:43:54 +00:00
parent a31b749ec6
commit 02c2a696c5

View File

@ -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 ;