若要確定 Look Through Limit (nsslapd-lookthroughlimit) 和 Size Limit (nsslapd-sizelimit) 參數是否設定為適當的值,請嘗試以下指令︰
ldapsearch -b "base" "(&(icscalendarowned=* user ID*) (objectclass=icsCalendarUser))"
其中,base 為目錄伺服器的 LDAP 基底 DN,其中包含 Calendar Server 的使用者和資源資料,而 user ID 為一般使用者可以在 Communications Express 中行事曆搜尋對話方塊中輸入的值。
如果 LDAP 伺服器傳回錯誤,則 nsslapd-sizelimit 或 nsslapd-lookthroughlimit 參數可能不夠大。請遵循這些指導以設定這些參數︰
確保 slapd.conf 或等效檔案中的 nsslapd-sizelimit 參數值足夠大,可以傳回所有所需結果;否則,會發生截斷,且不會顯示任何結果。
確保 slapd.ldbm.conf 或等效檔案中的 nsslapd-lookthroughlimit 參數值足夠大,可以完成 LDAP 目錄中所有使用者和資源的搜尋。如有可能,請將 nsslapd-lookthroughlimit 設定為 -1,其會導致不使用任何限制。