啟用 LDAP 替代語言搜尋
若要啟用 LDAP 替代語言搜尋,請將 LDAP 服務配置為容許這種搜尋,然後將此語言標籤新增至項目。 Use an Alternate Language Information document in the Domino® Directory to add language tags to a Person document.使用 LDAP 新增及修改作業,將語言標籤新增至任何其他類型的項目。
RFC 2596 定義了您可以附加到一屬性以定義該屬性的替代語言值之語言標籤。例如, givenName;lang-fr=Etienne
defines Etienne as a French value for the givenName
attribute. The LDAP service supports language tags.
許多 LDAP 用戶端在搜尋查詢中不支援語言標籤。 Such LDAP clients can specify, for example, givenName=Etienne
to find an entry with givenName;lang-fr=Etienne
defined.
Alternate Language Information documents allow LDAP clients to use alternate languages when searching Person documents in the Domino® Directory.若要讓 LDAP 用戶端以替代語言執行搜尋,您可以建立「人員」文件與「替代語言資訊」文件的關聯。當您建立「替代語言資訊」文件時,LDAP 服務會以替代語言的對應值在「人員」文件中標記屬性。例如,如果「人員」文件中的「名字」欄位是 Steven,您可以建立使用 Etienne 作為法文值的「替代語言資訊」文件。
配置 LDAP 服務以允許 LDAP 替代語言搜尋
遵循下列步驟以允許執行 LDAP 服務的網域中之所有伺服器處理 LDAP 替代語言搜尋:
- 在「目錄設定檔」中,啟用 LDAP 替代語言搜尋的支援:
- From the Domino® Administrator, open the primary Domino® Directory of the server that runs the LDAP service:
- Select .
- 在「容許建立替代語言資訊文件」欄位中,選取「是」。
- 儲存並關閉文件。
- 在網域「配置設定」文件中,啟用 LDAP 替代語言搜尋的支援:
- From the Domino® Administrator, open the server that runs the LDAP service, or a open a server in the same domain as the one that runs the LDAP service.
- 按一下配置標籤。
- 在導覽窗格中,依序展開「目錄」及「LDAP」,然後選取「設定」。
- 請執行下列其中一項動作:
If you see the message Unable to locate a Server Configuration document for this domain. Would you like to create one now? click Yes, then click the LDAP tab on the document.
如果您沒有看到此提示,請按一下「編輯 LDAP 設定」。
- 在「容許替代語言資訊處理」欄位中,選擇「是」。
- 儲存並關閉文件。
使用替代語言資訊文件來定義人員文件的語言子屬性
若要將特定語言的 LDAP 語言標籤新增至「人員」文件(domino人員項目),請建立與「人員」文件相關聯的「替代語言資訊」文件。「替代語言資訊」文件包含「人員」文件中欄位的子集,您為該子集在替代語言中指派值。您可以為一個「人員」文件建立多個「替代語言資訊」文件。 You can create Alternate Language Information documents in any Domino® Directory that the LDAP service serves.
To add LDAP language tags for a specific language to a Domino® Person document:
- From the Domino® Administrator, open the Domino® Directory that contains the Person document.
- Click the People & Groups tab.
- People選取人員,然後開啟您要在其中新增語言標籤的「人員」文件。
- Choose .
- 按一下「基本」標籤,然後執行下列動作:
- 在「語言」欄位中,選取要使用的語言。
- 在「基本Note: The User name (FullName) field is inherited from the Person document.LDAP 用此項目作為辨識人員的識別名稱,且您無法為其建立替代語言版本。
- 按一下「工作/住宅」標籤,然後在「工作」、「住宅」及「公司階層
- 儲存並關閉文件。
檢視替代語言資訊文件
若要檢視與「人員」文件相關聯的「替代語言資訊」文件,請執行下列動作:
- From the Domino® Administrator, click the Files tab, and open the Domino® Directory.
- 展開「人員」視圖,然後選取「替代語言」視圖。