LDAP#
此节点允许你与 LDAP 服务器交互,以创建、查找和更新对象。
¥This node allows you to interact with your LDAP servers to create, find, and update objects.
操作#
¥Operations
- 比较 是一个属性。
¥Compare an attribute
- 创建 新条目
¥Create a new entry
- 删除 是一个条目。
¥Delete an entry
- 重命名 获取现有条目的 DN。
¥Rename the DN of an existing entry
- 搜索 LDAP
¥Search LDAP
- 更新 属性
¥Update attributes
请参阅以下各节,了解有关为每个操作配置节点的详细信息。
¥Refer to the sections below for details on configuring the node for each operation.
This node can be used as an AI tool
This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.
比较#
¥Compare
使用以下参数配置此操作:
¥Configure this operation using these parameters:
- 用于连接的凭据:选择或创建一个用于连接的 LDAP 凭证。
¥Credential to connect with: Select or create an LDAP credential to connect with.
- DN:请输入要比较的条目的专有名称 (DN)。
¥DN: Enter the Distinguished Name (DN) of the entry to compare.
- 属性 ID:输入要比较的属性的 ID。
¥Attribute ID: Enter the ID of the attribute to compare.
- 值:输入要比较的值。
¥Value: Enter the value to compare.
创建#
¥Create
使用以下参数配置此操作:
¥Configure this operation using these parameters:
- 用于连接的凭据:选择或创建一个用于连接的 LDAP 凭证。
¥Credential to connect with: Select or create an LDAP credential to connect with.
- DN:输入要创建的条目的专有名称 (DN)。
¥DN: Enter the Distinguished Name (DN) of the entry to create.
- 属性:添加要创建的属性 ID/值对。
¥Attributes: Add the Attribute ID/Value pairs you'd like to create.
删除#
¥Delete
使用以下参数配置此操作:
¥Configure this operation using these parameters:
- 用于连接的凭据:选择或创建一个用于连接的 LDAP 凭证。
¥Credential to connect with: Select or create an LDAP credential to connect with.
- DN:请输入要删除的条目的专有名称 (DN)。
¥DN: Enter the Distinguished Name (DN) of the entry to be deleted.
重命名#
¥Rename
使用以下参数配置此操作:
¥Configure this operation using these parameters:
- 用于连接的凭据:选择或创建一个用于连接的 LDAP 凭证。
¥Credential to connect with: Select or create an LDAP credential to connect with.
- DN:输入要重命名的条目的当前专有名称 (DN)。
¥DN: Enter the current Distinguished Name (DN) of the entry to rename.
- 新建 DN:在此字段中输入条目的新专有名称 (DN)。
¥New DN: Enter the new Distinguished Name (DN) for the entry in this field.
搜索#
¥Search
使用以下参数配置此操作:
¥Configure this operation using these parameters:
- 用于连接的凭据:选择或创建一个用于连接的 LDAP 凭证。
¥Credential to connect with: Select or create an LDAP credential to connect with.
- 基本 DN:输入要搜索的子树的专有名称 (DN)。
¥Base DN: Enter the Distinguished Name (DN) of the subtree to search in.
- 搜索内容:选择要搜索的目录对象类。
¥Search For: Select the directory object class to search for.
- 属性:选择要搜索的属性。
¥Attribute: Select the attribute to search for.
- 搜索文本:输入要搜索的文本。使用
*作为通配符。
¥Search Text: Enter the text to search for. Use * for a wildcard.
- 返回全部:启用后,该节点将返回所有结果。关闭此选项后,节点将返回最多达到设定限制的结果。
¥Return All: When turned on, the node will return all results. When turned off, the node will return results up to the set Limit.
- 限制:仅当你关闭“全部返回”时可用。请输入要返回的最大结果数。
¥Limit: Only available when you turn off Return All. Enter the maximum number of results to return.
搜索选项#
¥Search options
你还可以使用以下选项配置此操作:
¥You can also configure this operation using these options:
- 属性名称或 ID:输入要返回的属性列表(以逗号分隔)。从列表中选择,或使用表达式指定 ID。
¥Attribute Names or IDs: Enter a comma-separated list of attributes to return. Choose from the list or specify IDs using an expression.
- 页面大小:请输入一次请求的最大结果数。设置为 0 可禁用分页。
¥Page Size: Enter the maximum number of results to request at one time. Set to 0 to disable paging.
- 范围:用于搜索基本 DN 及其下级条目的集合,以查找潜在匹配项。从以下选项中选择:
¥Scopes: The set of entries at or below the Base DN to search for potential matches. Select from:
-
基本树:通常称为 subordinateSubtree 或简称 "下属,",选择此选项将搜索基本 DN 条目的下级条目,但不会搜索基本 DN 条目本身。
¥Base Tree: Often referred to as subordinateSubtree or just "subordinates," selecting this option will search the subordinates of the Base DN entry but not the Base DN entry itself.
-
单级:通常称为 "一个,",选择此选项将仅搜索基本 DN 条目的直接子项。
¥Single Level: Often referred to as "one," selecting this option will search only the immediate children of the Base DN entry.
-
整子树:通常称为 "子项,",选择此选项将搜索基本 DN 条目及其所有下级条目,深度不限。
¥Whole Subtree: Often referred to as "sub," selecting this option will search the Base DN entry and all its subordinates to any depth.
有关搜索范围的更多信息,请参阅 LDAP 搜索操作。
¥Refer to The LDAP Search Operation for more information on search scopes.
更新#
¥Update
使用以下参数配置此操作:
¥Configure this operation using these parameters:
- 用于连接的凭据:选择或创建一个用于连接的 LDAP 凭证。
¥Credential to connect with: Select or create an LDAP credential to connect with.
- DN:输入要更新的条目的专有名称 (DN)。
¥DN: Enter the Distinguished Name (DN) of the entry to update.
- *更新属性:选择是添加新属性、删除现有属性还是替换现有属性。
¥Update Attributes*: Select whether to Add new, Remove existing, or Replace** existing attribute.
- 然后输入要更新的属性 ID/值对。
¥Then enter the Attribute ID/Value pair you'd like to update.
模板和示例#
¥Templates and examples