1 .TH LDAP_MODRDN 3 "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 ldap_modrdn, ldap_modrdn_s, ldap_modrdn2, ldap_modrdn2_s \- Perform an LDAP modify RDN operation
8 OpenLDAP LDAP (libldap, -lldap)
15 int ldap_modrdn(ld, dn, newrdn)
18 char \(**dn, \(**newrdn;
23 int ldap_modrdn_s(ld, dn, newrdn)
26 char \(**dn, \(**newrdn;
29 int ldap_modrdn2(ld, dn, newrdn, deleteoldrdn)
32 char \(**dn, \(**newrdn;
36 int ldap_modrdn2_s(ld, dn, newrdn, deleteoldrdn)
39 char \(**dn, \(**newrdn;
46 routines perform an LDAP modify
47 RDN operation. They both take \fIdn\fP, the DN of the entry whose
48 RDN is to be changed, and \fInewrdn\fP, the new RDN to give the entry.
49 The old RDN of the entry is never kept as an attribute of the entry.
51 is asynchronous, returning the message id of the operation
54 is synchronous, returning the LDAP error
55 code indicating the success or failure of the operation. Use of
56 these routines is deprecated. Use the versions described below
63 routines also perform an LDAP
64 modify RDN operation, taking the same parameters as above. In addition,
65 they both take the \fIdeleteoldrdn\fP parameter which is used as a boolean
66 value to indicate whether the old RDN values should be deleted from
69 The synchronous (_s) versions of these routines return an LDAP error
70 code, either LDAP_SUCCESS or an error if there was trouble.
71 The asynchronous versions return -1 in case
72 of trouble, setting the
74 field of \fIld\fP. See
82 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
84 is derived from University of Michigan LDAP 3.3 Release.