ldapSearch
Search the directory server using the base object specified in dn, using filter.
Required Parameters
| |
| server | The name or address of the LDAP server. | |
| filter | The filter to use for searching. | |
| scope | Controls the scope of LDAP search operations. Values can be BASEOBJECT, SINGLELEVEL, WHOLESUBTREE. The allowed values are: BASEOBJECT, SINGLELEVEL, WHOLESUBTREE. | |
Optional Parameters
| |
| port | The LDAP server port. Try 636 if sslmode is IMPLICIT. | |
| timeout | Timeout, in seconds, for the operation to complete. | |
| sslmode | Whether or not to use SSL to secure the connection. Possible values are NONE, IMPLICIT, and EXPLICIT. The allowed values are: NONE, IMPLICIT, EXPLICIT. | |
| authdn | The Distinguished Name of a user with search permissions. Needed only if anonymous searching is not allowed. | |
| password | The password for the authdn user. Needed only if providing authdn. | |
| dn | The path on the server to perform the search operation on. Leaving this attribute empty will cause the operation to do a DSE Search (Directory Specific Entries). | |
| sizeLimit | Maximum number of entries that can be returned by the next search operation. A value of 0 means that no size limits are in effect for the search. | |
| timeLimit | A time limit for the next search operation (in seconds). A value of 0 means that no time limits are in effect for the search. | |
Output Attributes
| |
| ldap:* | Attribute values. If there is more than one value, the attribute names are followed by an index that specifies their position in the value list. | |
| ldap:dn | The Distinguished Name of the entry. | |