From 67c137c27df73f9c0190a5f7830374efbbfa3776 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 Mar 2011 13:52:51 +0000 Subject: [PATCH] * LDAP addressbook filter for all addressbooks by "(objectclass=inetorgperson)" to not get eg. computer accounts from Samba --- addressbook/inc/class.addressbook_ldap.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/addressbook/inc/class.addressbook_ldap.inc.php b/addressbook/inc/class.addressbook_ldap.inc.php index 2641ba9ec0..be40d60c5e 100644 --- a/addressbook/inc/class.addressbook_ldap.inc.php +++ b/addressbook/inc/class.addressbook_ldap.inc.php @@ -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;