为了正确完成搜索,用户/组 LDAP Directory 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 排除一切搜索限制。