* 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:55:05 +00:00
parent a9671d4b1f
commit a7d0ee8550

View File

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