Modif Object Class
This commit is contained in:
parent
a31b749ec6
commit
02c2a696c5
@ -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 ;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user