* LDAP addressbook filter for all addressbooks by "(objectclass=inetorgperson)" to not get eg. computer accounts from Samba

This commit is contained in:
Ralf Becker 2011-03-07 13:52:51 +00:00
parent 63e61442c9
commit 67c137c27d

View File

@ -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;