mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 08:28:43 +01:00
"- setting ldapLimit to 2000, which is the default of slapd
- returning personal entries as personal (and not private)"
This commit is contained in:
parent
121752ed72
commit
84a9f87127
@ -52,7 +52,7 @@ class so_ldap
|
|||||||
/**
|
/**
|
||||||
* @var int $ldapLimit how many rows to fetch from ldap server
|
* @var int $ldapLimit how many rows to fetch from ldap server
|
||||||
*/
|
*/
|
||||||
var $ldapLimit = 300;
|
var $ldapLimit = 2000;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string $personalContactsDN holds the base DN for the personal addressbooks
|
* @var string $personalContactsDN holds the base DN for the personal addressbooks
|
||||||
@ -867,7 +867,7 @@ class so_ldap
|
|||||||
{
|
{
|
||||||
// personal addressbook
|
// personal addressbook
|
||||||
$contact['owner'] = $GLOBALS['egw']->accounts->name2id($matches[1],'account_lid','u');
|
$contact['owner'] = $GLOBALS['egw']->accounts->name2id($matches[1],'account_lid','u');
|
||||||
$contact['private'] = 1;
|
$contact['private'] = 0;
|
||||||
}
|
}
|
||||||
elseif(preg_match('/cn=([^,]+),'.preg_quote($this->sharedContactsDN,'/').'$/i',$entry['dn'],$matches))
|
elseif(preg_match('/cn=([^,]+),'.preg_quote($this->sharedContactsDN,'/').'$/i',$entry['dn'],$matches))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user