forked from extern/egroupware
* LDAP addressbook filter for all addressbooks by "(objectclass=inetorgperson)" to not get eg. computer accounts from Samba
This commit is contained in:
parent
63e61442c9
commit
67c137c27d
@ -616,9 +616,6 @@ class addressbook_ldap
|
|||||||
// create the search filter
|
// create the search filter
|
||||||
switch($addressbookType)
|
switch($addressbookType)
|
||||||
{
|
{
|
||||||
case ADDRESSBOOK_ALL:
|
|
||||||
$objectFilter = '(|(objectclass=inetorgperson)(objectclass=posixaccount))';
|
|
||||||
break;
|
|
||||||
case ADDRESSBOOK_ACCOUNTS:
|
case ADDRESSBOOK_ACCOUNTS:
|
||||||
$objectFilter = '(objectclass=posixaccount)';
|
$objectFilter = '(objectclass=posixaccount)';
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user