配置搜索请求的别名解除引用

The HCL Domino® LDAP service supports limited alias dereferencing for LDAP search requests.别名(例如,uid=jsmith,dc=renovations,dc=com)是指向其他条目(例如,cn=John Smith, ou=Sales, o=Renovations)的条目。搜索别名所指向的条目即称为别名解除引用。LDAP 搜索请求通常包括使用 LDAP 别名的基本组件或过滤器组件。例如,基本组件可以指定“uid=jsmith,dc=renovations,dc=com”,而过滤器可以指定“uid=jsmith”。

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

别名解除引用只能用于“个人”和“组”的别名。

别名解除引用只能用于不指向另一个别名的别名条目。

别名解除引用不能用于容器条目,即目录中具有下级条目的条目。例如,本身为容器条目的别名条目为 o=Renovations。使用以下步骤可启用 LDAP 服务的别名解除引用。

操作步骤

  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. Allow dereferencing of alias entries for search requests?LDAP 选项卡上,对于允许为搜索请求解除别名条目引用?
  5. 单击“保存并关闭”

下一步的操作

在“配置”文档中启用 LDAP 解除别名条目引用后,可以将别名条目添加到“个人”或“组”文档。

在“个人”文档的用户名字段或“组”文档的组名字段中的第一个条目后添加别名条目。 Do not change the first entry, as this is the HCL Notes® Distinguished Name (DN).必须采用专有名称语法指定别名,使用正斜杠字符 (/) 作为名称组成部分的分隔符,而不是使用逗号(LDAP DN 语法)。

As with all DNs, the Domino® LDAP server converts the forward slashes to commas when returning the alias name in a search result.

示例:

John Smith/West/Sales
John_Smith@renovations.com
uid=jsmith/dc=renovations/dc=com
email=John_Smith@renovations.com
Note: Enabling alias dereferencing can affect search performance. Careful consideration of this performance implication should be given when deciding whether to enable alias dereferencing on the Domino® LDAP server.