1 .TH LDAPMODRDN 1 "10 November 1998" "OpenLDAP LDVERSION"
3 ldapmodrdn \- ldap modify entry RDN tool
19 .BI \-d \ debuglevel\fR]
25 .BI \-h \ ldaphost\fR]
27 .BI \-p \ ldapport\fR]
34 is a shell-accessible interface to the
39 opens a connection to an LDAP server, binds, and modifies the RDN of entries.
40 The entry information is read from standard input, from \fIfile\fP through
43 option, or from the command-line pair \fIdn\fP and
48 Remove old RDN values from the entry. Default is to keep old values.
51 Show what would be done, but don't actually change entries. Useful for
52 debugging in conjunction with -v.
55 Use verbose mode, with many diagnostics written to standard output.
58 Use Kerberos authentication instead of simple authentication. It is
59 assumed that you already have a valid ticket granting ticket.
61 must be compiled with KERBEROS defined for this option to have effect.
64 Same as \-k, but only does step 1 of the kerberos bind. This is useful
65 when connecting to a slapd and there is no x500dsa.hostname principal
66 registered with your kerberos servers.
69 Continuous operation mode. Errors are reported, but ldapmodify
70 will continue with modifications. The default is to exit after
74 Set the LDAP debugging level to \fIdebuglevel\fP.
77 compiled with LDAP_DEBUG defined for this option to have any effect.
80 Read the entry modification information from \fIfile\fP instead of from
81 standard input or the command-line.
84 Use \fIbinddn\fP to bind to the LDAP directory. \fIbinddn\fP should be
85 a string-represented DN as defined in RFC 1779.
88 Use \fIpasswd\fP as the password for simple authentication.
91 Specify an alternate host on which the ldap server is running.
94 Specify an alternate TCP port where the ldap server is listening.
96 If the command-line arguments \fIdn\fP and \fIrdn\fP are given, \fIrdn\fP
97 will replace the RDN of the entry specified by the DN, \fIdn\fP.
99 Otherwise, the contents of \fIfile\fP (or standard input if
102 flag is given) should consist of one or more entries.
105 Distinguished Name (DN)
106 Relative Distinguished Name (RDN)
109 One or more blank lines may be used to separate each DN/RDN pair.
111 Assuming that the file
113 exists and has the contents:
116 cn=Modify Me, o=University of Michigan, c=US
123 ldapmodify -r -f /tmp/entrymods
126 will change the RDN of the "Modify Me" entry from "Modify Me" to
127 "The New Me" and the old cn, "Modify Me" will be removed.
130 Exit status is 0 if no errors occur. Errors result in a non-zero exit
131 status and a diagnostic message being written to standard error.
142 .IR "A String Representation of Distinguished Names",
145 ISODE Consortium, March 1995.
147 There is no interactive mode, but there probably should be.
150 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
152 is derived from University of Michigan LDAP 3.3 Release.