mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 20:09:27 +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(
|
var $schema2egw = array(
|
||||||
'posixaccount' => array(
|
'posixaccount' => array(
|
||||||
'account_id' => 'uidnumber',
|
'account_id' => 'uidnumber',
|
||||||
// 'account_lid' => 'uid',
|
|
||||||
'id' => 'uid',
|
'id' => 'uid',
|
||||||
'shadowexpire',
|
'shadowexpire',
|
||||||
),
|
),
|
||||||
@ -509,7 +508,7 @@ class addressbook_ldap
|
|||||||
{
|
{
|
||||||
if(!$this->ldapServerInfo->supportsObjectClass($objectclass)) continue;
|
if(!$this->ldapServerInfo->supportsObjectClass($objectclass)) continue;
|
||||||
|
|
||||||
if(!in_array($objectclass, $oldObjectclasses))
|
if($objectclass != 'posixaccount' && !in_array($objectclass, $oldObjectclasses))
|
||||||
{
|
{
|
||||||
$ldapContact['objectClass'][] = $objectclass;
|
$ldapContact['objectClass'][] = $objectclass;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user