A. OLCmd Reference

OLCmd ldapmodify

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

Format:

 

 

OLCmd

ldapmodify [-DbindDN ] [-wpassword ] [-hhost ] [-pport ] [-F]

[-a -r] [-b] [-c] [-v]

 

Where:

 

 

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

 

 

-ris specified, -ris presumed.

-r

 

Specifies data is to be replaced. If neither -anor

 

 

-ris specified, -ris 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.

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

A-20

January 2002

7800-A2-GB32-00

Page 90
Image 90
Paradyne SLM 5.5 manual OLCmd ldapmodify -D c=US -w admin -a -c data/new.ldif