启用 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.LDAP 服务支持语言标记。

许多 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 备用语言搜索:

  1. 在“目录概要文件”中,启用对 LDAP 备用语言搜索的支持:
    1. From the Domino® Administrator, open the primary Domino® Directory of the server that runs the LDAP service:
    2. Select Actions > Edit Directory Profile.
    3. 允许创建备用语言信息文档字段中,选择“是”。
    4. 保存并关闭此文档。
  2. 在域“配置设置”文档中,启用 LDAP 备用语言搜索支持:
    1. 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.
    2. 单击配置选项卡。
    3. 在导航窗格中,展开目录,再展开 LDAP,然后选择设置
    4. 请执行下列其中一项操作:

      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 设置

    5. 允许备用语言信息处理字段中,选择“是”。
    6. 保存并关闭此文档。

使用“备用语言信息”文档定义“个人”文档的语言子属性

要将特定语言的 LDAP 语言标记添加到“个人”文档(dominoPerson 条目)中,请创建与“个人”文档相关联的“备用语言信息”文档。“备用语言信息”文档包含“个人”文档中的一部分字段,可以使用备用语言为这些字段指定值。可以为一个“个人”文档创建多个“备用语言信息”文档。 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:

  1. From the Domino® Administrator, open the Domino® Directory that contains the Person document.
  2. Click the People & Groups tab.
  3. 选择个人并打开要向其中添加语言标记的“个人”文档。
  4. Choose Actions > Add Alternate Language Information.
  5. 单击基本选项卡,然后执行以下操作:
    1. 语言
    2. 基本选项卡中,使用所选语言为其他任意字段输入值。
      Note: The User name (FullName) field is inherited from the Person document.LDAP 将此用作标识个人的专有名称,不能创建此标识的备用语言版本。
  6. 单击工作/家庭选项卡,使用所选语言为工作家庭公司层次结构选项卡中的任意字段输入值。
  7. 保存并关闭此文档。

查看“备用语言信息”文档

要查看与“个人”文档关联的“备用语言信息”文档,请执行以下操作:

  1. From the Domino® Administrator, click the Files tab, and open the Domino® Directory.
  2. 展开个人视图,选择备用语言视图。