This section describes the tuning you can perform on Directory Server to enhance performance.
To improve the performance of Communications Express when Calendar Server accesses the LDAP directory server, index the following LDAP attributes:
icsCalendar. The attribute is used to search default calendars for a calendar user or resource. Specify the index type as presence (pres), equality (eq), or substring (sub).
icsCalendarOwned. The attribute is used to search for a subscribe operation when the LDAP CLD plug-in is enabled. Specify the index type as presence (pres), equality (eq), and substring (sub).
mail and mailAlternateAddress . These two attributes specifies a user’s primary and alternate email addresses.
The comm_dssetup.pl script adds indexes for icsCalendar , icsCalendarOwned, mail, and mailAlternateAddress attributes.
It is important that the nsSizeLimit and nsLookthroughLimit parameters in User/Group LDAP directory server configuration is large enough for searches to be completed properly.
To determine if these parameters are set to appropriate values, type the following command:
ldapsearch -b /base/ (&(icscalendarowned=*/user/*)(objectclass=icsCalendarUser))
where
/base/ is the LDAP base DN of the directory server where the user and resource data for Calendar Server is located.
/user/ is the value that an end user can enter in Calendar Search dialog under the Subscribe option in Communications Express.
The LDAP server returns an error, if the nsSizeLimit or the nsLookthroughLimit parameter is not large enough.
Follow these guidelines to reset nsSizeLimit or the nsLookthroughLimit parameters:
Ensure that the value for nsSizeLimit parameter is large enough to return all the desired results; otherwise, data can get truncated, and no results will be displayed.
Ensure that the value for nsLookthroughLimit parameter is large enough to complete a search of all the users and resources in the LDAP directory. If possible set nsLookthroughLimit to -1. By doing this, no search limit is set for nsLookthroughLimit.