依預設,Instant Messaging 伺服器會執行 LDAP 目錄匿名搜尋。然而,通常網站會防止在其目錄中進行匿名搜尋,這樣任意使用者便無法搜尋並擷取所有資訊。如果將您的網站目錄配置為禁止這樣的匿名搜尋,並且安裝後配置時您也並未提供連結憑證,則需要以 Instant Messaging 可用於連結與執行搜尋的使用者 ID 與密碼來配置 Instant Messaging 伺服器的需求。
使用 iim_ldap.usergroupbinddn 和 iim_ldap.usergroupbindcred 參數來配置必需的憑證。
開啟 iim.conf。
如需找到並修改 iim.conf 的說明,請參閱iim.conf 檔案語法。
指定您要伺服器連結至目錄時所用的 DN,做為 iim_ldap.usergroupbinddn 的值。
iim_ldap.usergroupbinddn=bind-DN |
指定與連結 DN 對應的密碼,做為 iim_ldap.usergroupbindcred 的值。
iim_ldap.usergroupbindcred=password |
儲存並關閉檔案。