-.TH LDAPMODIFY 1 "12 July 2000" "OpenLDAP LDVERSION"
+.TH LDAPMODIFY 1 "20 August 2000" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
[\c
.BR \-O \ security-properties ]
[\c
+.BR \-I ]
+[\c
+.BR \-Q ]
+[\c
.BI \-U \ username\fR]
[\c
.BR \-x ]
Use simple authentication instead of SASL.
.TP
.BI \-D \ binddn
-Use \fIbinddn\fP to bind to the LDAP directory. \fIbinddn\fP should be
-a string-represented DN as defined in RFC 1779.
+Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
.TP
.B \-W
Prompt for simple authentication.
.BI \-O \ security-properties
Specify SASL security properties.
.TP
+.B \-I
+Enable SASL Interactive mode. Always prompt. Default is to prompt
+only as needed.
+.TP
+.B \-Q
+Enable SASL Quiet mode. Never prompt.
+.TP
.BI \-U \ username
Specify the username for SASL bind. The syntax of the username depends on the
actual SASL mechanism used.
exists and has the contents:
.LP
.nf
- dn: cn=Modify Me, dc=OpenLDAP, dc=Org
+ dn: cn=Modify Me, dc=example, dc=com
changetype: modify
replace: mail
mail: modme@OpenLDAP.org
.LP
will replace the contents of the "Modify Me" entry's
.I mail
-attribute with the value "modme@OpenLDAP.org", add a
+attribute with the value "modme@example.com", add a
.I title
of "Grand Poobah", and the contents of the file "/tmp/modme.jpeg"
as a
attribute.
The same modifications as above can be performed using the older
.I ldapmodify
-inout format:
+input format:
.LP
.nf
- cn=Modify Me, dc=OpenLDAP, dc=org
- mail=modme@OpenLDAP.org
+ cn=Modify Me, dc=example, dc=com
+ mail=modme@example.com
+title=Grand Poobah
+jpegPhoto=/tmp/modme.jpeg
-description
exists and has the contents:
.LP
.nf
- dn: cn=Barbara Jensen, dc=OpenLDAP, dc=org
+ dn: cn=Barbara Jensen, dc=example, dc=com
objectClass: person
cn: Barbara Jensen
cn: Babs Jensen
sn: Jensen
title: the world's most famous mythical manager
- mail: bjensen@OpenLDAP.org
+ mail: bjensen@example.com
uid: bjensen
.LP
the command:
exists and has the contents:
.LP
.nf
- dn: cn=Barbara Jensen, dc=OpenLDAP, dc=org
+ dn: cn=Barbara Jensen, dc=example, dc=com
changetype: delete
.LP
the command:
.LP
will remove Babs Jensen's entry.
.SH DIAGNOSTICS
-Exit status is 0 if no errors occur. Errors result in a non-zero exit
-status and a diagnostic message being written to standard error.
+Exit status is zero if no errors occur. Errors result in a non-zero
+exit status and a diagnostic message being written to standard error.
.SH "SEE ALSO"
.BR ldapadd (1),
.BR ldapdelete (1),
.BR ldap_modify (3),
.BR ldap_modrdn (3),
.BR slapd.replog (5)
-.LP
-Kille, S.,
-.IR "A String Representation of Distinguished Names",
-.SM RFC
-1779,
-ISODE Consortium, March 1995.
.SH BUGS
There is no interactive mode, but there probably should be.
.SH AUTHOR