Olcmd ldapsearch, A-21 – Paradyne OpenLane SLM 5.5 User Manual

Page 91

Advertising
background image

A. OLCmd Reference

7800-A2-GB32-00

January 2002

A-21

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:

-n

Specifies that the command will return information on
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.

-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).

Advertising