ldap_search
Search an LDAP directory for entries matching a filter, returning up to 500 results with configurable scope and attributes.
Instructions
Search an LDAP directory. Returns matching entries (capped at 500; result is truncated=true with a total count if there are more).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Search scope. Defaults to 'sub' | |
| baseDn | Yes | Base DN to search from, e.g. 'ou=Users,dc=example,dc=com' | |
| filter | No | RFC4515 search filter, e.g. '(&(objectClass=person)(uid=jdoe))'. Defaults to '(objectclass=*)' | |
| sizeLimit | No | Maximum entries the server should return (0/omitted = server default) | |
| attributes | No | Attributes to return. Omit to return all attributes | |
| connectionId | No | Id of the ldap connection to use, from databases.config.yml. Optional when only one ldap connection is configured. |