A. OLCmd Reference

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 ]

[-bsearchbase] [-Fseparator ] [-Ssort_attrib] [-ltime_limit ] [-zsize_limit ] [-u][-t][-B][-A][-L][-v][-ddebug_level ]

Where:

 

-n

Specifies that the command will return information on

 

what would be changed if executed, but does not

 

modify entries.

-DbindDN

Is the Distinguished Name (DN) used to bind to the

 

directory.

-wpassword

Is the database password.

-hhost

Is the name or IP address of the OpenLane

 

management server.

-pport

Is the port used to connect to the LDAP database.

-bsearchbase

Is an attribute value denoting the starting point of the

 

search.

-Fseparator

Is the character used as a separator between attribute

 

names and values. The default is an equal sign (=).

 

This parameter is ignored if -Lis specified.

-Ssort_attrib

Is the attribute used to sort the entries returned.

-ltime_limit

Is the amount of time which may elapse before the

 

search is abandoned.

-zsize_limit

Is the size of the output (in bytes) which may be

 

produced before the search is abandoned.

-u

Specifies that the output should include the

 

human-readable form of the Distinguished Name.

-t

Specifies that retrieved values should be written to

 

temporary files.

-B

Specifies that non-ASCII values should not be

 

suppressed.

-A

Specifies that only attribute names (not values) should

 

be retrieved.

-L

Specifies that search results should be displayed in

 

LDAP Data Interchange Format (LDIF).

7800-A2-GB32-00

January 2002

A-21

Page 91
Image 91
Paradyne SLM 5.5 manual OLCmd ldapsearch -n-D bindDN -w password -h host -p port