mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
* LDAP addressbook filter for all addressbooks by "(objectclass=inetorgperson)" to not get eg. computer accounts from Samba
This commit is contained in:
parent
a9671d4b1f
commit
a7d0ee8550
@ -616,9 +616,6 @@ class addressbook_ldap
|
||||
// create the search filter
|
||||
switch($addressbookType)
|
||||
{
|
||||
case ADDRESSBOOK_ALL:
|
||||
$objectFilter = '(|(objectclass=inetorgperson)(objectclass=posixaccount))';
|
||||
break;
|
||||
case ADDRESSBOOK_ACCOUNTS:
|
||||
$objectFilter = '(objectclass=posixaccount)';
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user