配置 LDAP 服务在处理写操作和比较操作时如何响应多个名称匹配

指定当目录是主目录,并且在要比较或修改的运行 LDAP 的域中的所有服务器的专有名称存在多个匹配项时要遵循的规则。

有关如何设置此功能,请参阅以下主题:

LDAP 服务使用配置的规则来确定如何响应以下任一情况:

  • 接收到 LDAP 修改、修改 DN、删除或比较请求,并且在一个目录内或多个目录中找到了其专有名称与请求中指定名称相匹配的多个条目。
  • It receives an LDAP add request and finds more than one HCL Domino® Directory enabled for LDAP clients in its directory assistance database with a directory assistance naming rule that most specifically matches the distinguished name specified in the request.

    Note that if there is no Domino® Directory enabled for LDAP clients in directory assistance with a rule that matches the distinguished name specified in an add operation, the LDAP service adds the entry to its primary Domino® Directory. If there is only one Domino® Directory enabled for LDAP clients in directory assistance with a rule that matches the distinguished name specified in an add operation, the LDAP service adds the entry to that directory.

操作步骤

  1. From the Domino® Administrator, open the server that runs the LDAP service, or a server in the same domain as the one that runs the LDAP service.
  2. 单击配置选项卡。
  3. 在导航窗格中,展开目录LDAP,然后选择设置
  4. 请执行下列其中一项操作:
    • If you see the prompt Unable to locate a Server Configuration document for this domain. Would you like to create one now? 请单击,然后单击文档上的 LDAP 选项卡。
    • 如果未看到此提示,请单击编辑 LDAP 设置
  5. 对于当此目录为主目录,并且比较/修改的专有名称存在多个匹配项时要遵循的规则字段,选择 LDAP 服务在关于此任务部分中所述的两种情况中如何响应。
    Table 1.LDAP 设置
    选项 结果

    不修改任何

    (缺省值)阻止操作执行。LDAP 服务返回一个错误,并可以调查重复的名称/命名规则。

    修改第一个匹配

    • 对在启用了 LDAP 写操作并与操作中指定的专有名称相匹配的目录中所遇到的第一个条目执行 LDAP 修改、删除或比较操作。
    • Carries out the LDAP add operation in the Domino® Directory configured in directory assistance database that is enabled for LDAP write operations and has the most specific matching rule and the lowest search order

    修改所有匹配

    • 对与操作中指定的专有名称相匹配的所有找到的条目执行 LDAP 修改、删除或比较操作。
    • Carries out the LDAP add operation in all the Domino® Directories configured in the directory assistance database with a matching rule that most specifically matches the distinguished name specified in the add operation, and that are enabled for LDAP write operations.
  6. 单击“保存并关闭”