1 .TH LDAPMODRDN 1 "10 November 1998" "OpenLDAP LDVERSION"
3 ldapmodrdn \- ldap modify entry RDN tool
21 .BI \-d \ debuglevel\fR]
29 .BI \-h \ ldaphost\fR]
31 .BI \-p \ ldapport\fR]
33 .BI \-P \ 2\fR\||\|\fI3\fR]
40 is a shell-accessible interface to the
45 opens a connection to an LDAP server, binds, and modifies the RDN of entries.
46 The entry information is read from standard input, from \fIfile\fP through
49 option, or from the command-line pair \fIdn\fP and
54 Remove old RDN values from the entry. Default is to keep old values.
57 Show what would be done, but don't actually change entries. Useful for
58 debugging in conjunction with -v.
61 Use verbose mode, with many diagnostics written to standard output.
64 Use Kerberos authentication instead of simple authentication. It is
65 assumed that you already have a valid ticket granting ticket.
67 must be compiled with KERBEROS defined for this option to have effect.
70 Same as \-k, but only does step 1 of the kerberos bind. This is useful
71 when connecting to a slapd and there is no x500dsa.hostname principal
72 registered with your kerberos servers.
75 Continuous operation mode. Errors are reported, but ldapmodify
76 will continue with modifications. The default is to exit after
80 Enable manage DSA IT control.
82 makes control critical.
85 Set the LDAP debugging level to \fIdebuglevel\fP.
88 compiled with LDAP_DEBUG defined for this option to have any effect.
91 Read the entry modification information from \fIfile\fP instead of from
92 standard input or the command-line.
95 Use \fIbinddn\fP to bind to the LDAP directory. \fIbinddn\fP should be
96 a string-represented DN as defined in RFC 1779.
99 Prompt for simple authentication.
100 This is used instead of specifying the password on the command line.
103 Use \fIpasswd\fP as the password for simple authentication.
106 Specify an alternate host on which the ldap server is running.
109 Specify an alternate TCP port where the ldap server is listening.
111 .BI \-P \ 2\fR\||\|\fI3
112 Specify the LDAP protocol version to use.
114 If the command-line arguments \fIdn\fP and \fIrdn\fP are given, \fIrdn\fP
115 will replace the RDN of the entry specified by the DN, \fIdn\fP.
117 Otherwise, the contents of \fIfile\fP (or standard input if
120 flag is given) should consist of one or more entries.
123 Distinguished Name (DN)
124 Relative Distinguished Name (RDN)
127 One or more blank lines may be used to separate each DN/RDN pair.
129 Assuming that the file
131 exists and has the contents:
134 cn=Modify Me, o=University of Michigan, c=US
141 ldapmodify -r -f /tmp/entrymods
144 will change the RDN of the "Modify Me" entry from "Modify Me" to
145 "The New Me" and the old cn, "Modify Me" will be removed.
148 Exit status is 0 if no errors occur. Errors result in a non-zero exit
149 status and a diagnostic message being written to standard error.
160 .IR "A String Representation of Distinguished Names",
163 ISODE Consortium, March 1995.
165 There is no interactive mode, but there probably should be.
168 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
170 is derived from University of Michigan LDAP 3.3 Release.