Manual Pages for UNIX Darwin command on man ldap_modrdn2
MyWebUniversity

Manual Pages for UNIX Darwin command on man ldap_modrdn2

LDAPMODRDN(3) LDAPMODRDN(3)

NAME

ldapmodrdn, ldapmodrdns, ldapmodrdn2, ldapmodrdn2s - Perform an

LDAP modify RDN operation LLIIBBRRAARRYY

OpenLDAP LDAP (libldap, -lldap)

SYNOPSIS

##iinncclluuddee <>

iinntt llddaappmmooddrrddnn((lldd,, ddnn,, nneewwrrddnn)) LDAP *ld; char *dn, *newrdn; iinntt llddaappmmooddrrddnnss((lldd,, ddnn,, nneewwrrddnn)) LDAP *ld; char *dn, *newrdn; iinntt llddaappmmooddrrddnn22((lldd,, ddnn,, nneewwrrddnn,, ddeelleetteeoollddrrddnn)) LDAP *ld; char *dn, *newrdn; int deleteoldrdn; iinntt llddaappmmooddrrddnn22ss((lldd,, ddnn,, nneewwrrddnn,, ddeelleetteeoollddrrddnn)) LDAP *ld; char *dn, *newrdn; int deleteoldrdn;

DESCRIPTION

The llddaappmmooddrrddnn(()) and llddaappmmooddrrddnnss(()) routines perform an LDAP modify RDN operation. They both take dn, the DN of the entry whose RDN is to be changed, and newrdn, the new RDN to give the entry. The old RDN of the entry is never kept as an attribute of the entry. llddaappmmooddrrddnn(()) is asynchronous, returning the message id of the operation it initiates.

llddaappmmooddrrddnnss(()) is synchronous, returning the LDAP error code indicat-

ing the success or failure of the operation. Use of these routines is deprecated. Use the versions described below instead. The llddaappmmooddrrddnn22(()) and llddaappmmooddrrddnn22ss(()) routines also perform an LDAP

modify RDN operation, taking the same parameters as above. In addi-

tion, they both take the deleteoldrdn parameter which is used as a boolean value to indicate whether the old RDN values should be deleted from the entry or not. EERRRROORRSS The synchronous (s) versions of these routines return an LDAP error

code, either LDAPSUCCESS or an error if there was trouble. The asyn-

chronous versions return -1 in case of trouble, setting the llddeerrrrnnoo

field of ld. See llddaappeerrrroorr(3) for more details.

SEE ALSO

llddaapp(3), llddaappeerrrroorr(3) AACCKKNNOOWWLLEEDDGGEEMMEENNTTSS OOppeennLLDDAAPP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OOppeennLLDDAAPP is derived from University of Michigan LDAP 3.3 Release. OpenLDAP 2.2.19 2004/11/26 LDAPMODRDN(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™