mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Add inetOrgPerson to objectclass for new accounts
This commit is contained in:
parent
63d18c1bd2
commit
1e45789497
@ -145,6 +145,7 @@
|
||||
else
|
||||
{
|
||||
// attribute was in LDAP, modify it
|
||||
//echo $val.' ';
|
||||
ldap_modify($ds, $allValues[0]["dn"], $tmpentry);
|
||||
}
|
||||
}
|
||||
@ -431,9 +432,10 @@
|
||||
$tmpentry["objectclass"][0] = 'top';
|
||||
$tmpentry["objectclass"][1] = 'person';
|
||||
$tmpentry["objectclass"][2] = 'organizationalPerson';
|
||||
$tmpentry["objectclass"][3] = 'account';
|
||||
$tmpentry["objectclass"][4] = 'posixAccount';
|
||||
$tmpentry["objectclass"][5] = 'shadowAccount';
|
||||
$tmpentry["objectclass"][3] = 'inetOrgPerson';
|
||||
$tmpentry["objectclass"][4] = 'account';
|
||||
$tmpentry["objectclass"][5] = 'posixAccount';
|
||||
$tmpentry["objectclass"][6] = 'shadowAccount';
|
||||
}
|
||||
|
||||
ldap_modify($ds, $allValues[0]["dn"], $tmpentry);
|
||||
@ -450,9 +452,10 @@
|
||||
$entry["objectclass"][0] = 'top';
|
||||
$entry["objectclass"][1] = 'person';
|
||||
$entry["objectclass"][2] = 'organizationalPerson';
|
||||
$entry["objectclass"][3] = 'account';
|
||||
$entry["objectclass"][4] = 'posixAccount';
|
||||
$entry["objectclass"][5] = 'shadowAccount';
|
||||
$entry["objectclass"][3] = 'inetOrgPerson';
|
||||
$entry["objectclass"][4] = 'account';
|
||||
$entry["objectclass"][5] = 'posixAccount';
|
||||
$entry["objectclass"][6] = 'shadowAccount';
|
||||
}
|
||||
|
||||
ldap_add($ds, $dn, $entry);
|
||||
|
Loading…
Reference in New Issue
Block a user