mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
do NOT add posixAccount objectclass to contacts, it is unnecessary and has required attributes not provided by addressbook
This commit is contained in:
parent
8d93ebb01e
commit
2057a8e180
@ -115,7 +115,6 @@ class addressbook_ldap
|
||||
var $schema2egw = array(
|
||||
'posixaccount' => array(
|
||||
'account_id' => 'uidnumber',
|
||||
// 'account_lid' => 'uid',
|
||||
'id' => 'uid',
|
||||
'shadowexpire',
|
||||
),
|
||||
@ -509,7 +508,7 @@ class addressbook_ldap
|
||||
{
|
||||
if(!$this->ldapServerInfo->supportsObjectClass($objectclass)) continue;
|
||||
|
||||
if(!in_array($objectclass, $oldObjectclasses))
|
||||
if($objectclass != 'posixaccount' && !in_array($objectclass, $oldObjectclasses))
|
||||
{
|
||||
$ldapContact['objectClass'][] = $objectclass;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user