Task: Search directory service (LDAP)
UMRA supports the LDAP search specification RFC2254 to search in a directory service. Example: to find all users of which the common name (cn) starts with H, the following filter is used on Novell eDirectory:
(&(objectClass=user) (cn=H*))
Any filter can be used to return any collection of attribute values for the matching directory service items.
The following section summarizes the general procedure to search in the directory service:
- Setup LDAP session: Connect to the LDAP Server and authenticate the directory service user account that is used to perform the search operation;
- Search directory service (LDAP): Perform a search operation in the directory service. The result of the search operation is a table that is stored in a variable.
|