Sun Java System Instant Messaging 7.2 管理指南

使用不允許匿名連結的目錄

依預設,Instant Messaging 伺服器會執行 LDAP 目錄匿名搜尋。然而,通常網站會防止在其目錄中進行匿名搜尋,這樣任意使用者便無法搜尋並擷取所有資訊。如果將您的網站目錄配置為禁止這樣的匿名搜尋,並且安裝後配置時您也並未提供連結憑證,則需要以 Instant Messaging 可用於連結與執行搜尋的使用者 ID 與密碼來配置 Instant Messaging 伺服器的需求。

使用 iim_ldap.usergroupbinddniim_ldap.usergroupbindcred 參數來配置必需的憑證。

Procedure配置 Instant Messaging 伺服器的連結憑證

  1. 開啟 iim.conf

    如需找到並修改 iim.conf 的說明,請參閱iim.conf 檔案語法

  2. 指定您要伺服器連結至目錄時所用的 DN,做為 iim_ldap.usergroupbinddn 的值。


    iim_ldap.usergroupbinddn=bind-DN
    
  3. 指定與連結 DN 對應的密碼,做為 iim_ldap.usergroupbindcred 的值。


    iim_ldap.usergroupbindcred=password
    
  4. 儲存並關閉檔案。