本节介绍了可以对 Directory Server 进行哪些调节以提高性能。
为了能够正确完成搜索,用户或组 LDAP 目录和 Address Book Server 配置中的 nsSizeLimit 和 nsLookthroughLimit 参数一定要足够大。
要确定是否为这些参数设置了适当的值,请键入以下命令:
ldapsearch -b /base/ (&(icscalendarowned=*/user/*)(objectclass=icsCalendarUser))
其中
/base/ 是 Calendar Server 的用户和资源数据所在的 Directory Server 的 LDAP 基本 DN。
/user/ 是最终用户可以在 Communications Express 中“订阅”选项下的“日历搜索”对话框中输入的值。
如果 nsSizeLimit 或 nsLookthroughLimit 参数不够大,LDAP 服务器会返回错误。
请按照以下原则重置 nsSizeLimit 或 nsLookthroughLimit 参数:
确保 nsSizeLimit 参数值足够大,以便能够返回所需的全部结果;否则数据可能会被截断,且不显示任何结果。
确保 nsLookthroughLimit 参数值足够大,以便能够在 LDAP 目录中搜索所有用户和资源。如果可能,将 nsLookthroughLimit 设置为 -1。这表示没有设置 nsLookthroughLimit 搜索限制。
建议分别设置 LDAP 中的用户或组条目和通讯录条目。