Subject: LDAP Command-Line Tool - ldapmodify examples with sample ldif files
Author: eLDAP
Posted on: 07/08/2011 09:22:50 PM
Use the command-line tool ldapmodify to modify existing entries. ldapmodify opens a connection to the directory and authenticates the user. Then it opens the LDIF file supplied as an argument and modifies the LDAP entries specified by the file.
ldapmodify uses a modified form of an LDIF file. Within the file itself, you use the attribute changetype to specify the type of change.
Syntax
ldapmodify [options] [-f LDIF-filename]
Example
ldapmodify -h localhost -p 389 -D "uid=testuser" -w password -f changes.ldif
Replies:
References: