Olcmd ldapmodify, A-20 – Paradyne OpenLane SLM 5.5 User Manual

Page 90

Advertising
background image

A. OLCmd Reference

A-20

January

2002

7800-A2-GB32-00

OLCmd ldapmodify

The ldapmodify command adds or modifes entries in the LDAP database. It
accepts input from the STDIN stream.

Format:

OLCmd ldapmodify

[

-D

bindDN ] [

-w

password ] [

-h

host ] [

-p

port ] [

-F

]

[

-a

|

-r

] [

-b

] [

-c

] [

-v

]

Where:

Example:

The file new.ldif contains data for new database entries, in LDAP Data Interchange
Format (LDIF). The following command adds the entries to the LDAP database:

OLCmd ldapmodify -D c=US -w admin -a -c < data/new.ldif

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

-F

Specifies that all changes will be forced, even
when input lines begin with

replica:

.

-a

Specifies that data is to be added. If neither

-a

nor

-r

is specified,

-r

is presumed.

-r

Specifies data is to be replaced. If neither

-a

nor

-r

is specified,

-r

is presumed.

-b

Specifies that any value starting with a forward
slash (/) is the pathname of a binary file.

-c

Specifies that the command should continue
execution even after an error.

-v

Specifies that debugging information should be
returned.

Advertising