From 6af7e0d63dc42901b55ca9530959d9ddaffa56d6 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 18 Jun 2011 19:45:26 +0000 Subject: Use numSubOrdindates inconjuction with VLV to count total --- config/main.inc.php.dist | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index 7eac777e0..96997b40d 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -536,6 +536,7 @@ $rcmail_config['ldap_public']['Verisign'] = array( 'filter' => '(objectClass=inetOrgPerson)', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act 'fuzzy_search' => true, // server allows wildcard search 'vlv' => false, // Enable Virtual List View to mor efficiently fetch paginated data (if server supports it) + 'numsub_filter' => '(objectClass=organizationalUnit)', // with VLV, we also use numSubOrdinates to query the total number of records. Set this filter to get all numSubOrdinates attributes for counting 'sizelimit' => '0', // Enables you to limit the count of entries fetched. Setting this to 0 means no limit. 'timelimit' => '0', // Sets the number of seconds how long is spend on the search. Setting this to 0 means no limit. -- cgit v1.2.3