Mise jour
This commit is contained in:
parent
92ab9ab430
commit
25200b5bbd
@ -136,11 +136,12 @@ class Contact
|
||||
//$info["postalCode"] = "postalCode";
|
||||
//$info["postalAddress"] = "postalAddress";
|
||||
|
||||
$info["objectclass"][0] = "top";
|
||||
/* $info["objectclass"][0] = "top";
|
||||
$info["objectclass"][1] = "person";
|
||||
$info["objectclass"][2] = "organizationalPerson";
|
||||
$info["objectclass"][3] = "inetOrgPerson";
|
||||
$info["objectclass"][4] = "phpgwContact"; // compatibilite egroupware
|
||||
*/
|
||||
$info["objectclass"][0] = "inetOrgPerson";
|
||||
$info["objectclass"][1] = "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