OLCmd ldapsearch
The ldapsearch command retrieves data from the LDAP database based on
search criteria.
Format:
OLCmd ldapsearch [-n] [-D bindDN ] [-w password ] [-h host ] [-p port ]
[-b searchbase ] [-F separator ] [-S sort_attrib ] [-l time_limit ] [-z size_limit ] [-u]
[-t] [-B] [-A] [-L] [-v] [-d debug_level ]
Where:
7800-A2-GB32-00
Specifies that the command will return information on
-n
what would be changed if executed, but does not
modify entries.
-D bindDN
Is the Distinguished Name (DN) used to bind to the
directory.
-w password
Is the database password.
-h host
Is the name or IP address of the OpenLane
management server.
-p port
Is the port used to connect to the LDAP database.
-b searchbase
Is an attribute value denoting the starting point of the
search.
-F separator
Is the character used as a separator between attribute
names and values. The default is an equal sign (=).
This parameter is ignored if -L is specified.
-S sort_attrib
Is the attribute used to sort the entries returned.
-l time_limit
Is the amount of time which may elapse before the
search is abandoned.
-z size_limit
Is the size of the output (in bytes) which may be
produced before the search is abandoned.
Specifies that the output should include the
-u
human-readable form of the Distinguished Name.
Specifies that retrieved values should be written to
-t
temporary files.
Specifies that non-ASCII values should not be
-B
suppressed.
Specifies that only attribute names (not values) should
-A
be retrieved.
Specifies that search results should be displayed in
-L
LDAP Data Interchange Format (LDIF).
January 2002
A. OLCmd Reference
A-21