LDAP_MODRDN



LDAP_MODRDN

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
ERRORS
SEE ALSO
ACKNOWLEDGEMENTS

NAME

ldap_modrdn, ldap_modrdn_s, ldap_modrdn2, ldap_modrdn2_s − Perform an LDAP modify RDN operation

LIBRARY

OpenLDAP LDAP (libldap, −lldap)

SYNOPSIS

#include <ldap.h>

int ldap_modrdn(ld, dn, newrdn)
LDAP ∗ld;
char ∗dn, ∗newrdn;

int ldap_modrdn_s(ld, dn, newrdn)
LDAP ∗ld;
char ∗dn, ∗newrdn;

int ldap_modrdn2(ld, dn, newrdn, deleteoldrdn)
LDAP ∗ld;
char ∗dn, ∗newrdn;
int deleteoldrdn;

int ldap_modrdn2_s(ld, dn, newrdn, deleteoldrdn)
LDAP ∗ld;
char ∗dn, ∗newrdn;
int deleteoldrdn;

DESCRIPTION

The ldap_modrdn() and ldap_modrdn_s() 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. ldap_modrdn() is asynchronous, returning the message id of the operation it initiates. ldap_modrdn_s() is synchronous, returning the LDAP error code indicating the success or failure of the operation. Use of these routines is deprecated. Use the versions described below instead.

The ldap_modrdn2() and ldap_modrdn2_s() routines also perform an LDAP modify RDN operation, taking the same parameters as above. In addition, 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.

ERRORS

The synchronous (_s) versions of these routines return an LDAP error code, either LDAP_SUCCESS or an error if there was trouble. The asynchronous versions return −1 in case of trouble, setting the ld_errno field of ld. See ldap_error(3) for more details.

SEE ALSO

ldap(3), ldap_error(3)

ACKNOWLEDGEMENTS

OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from University of Michigan LDAP 3.3 Release.



More Linux Commands

manpages/platform_shell.n.html
platform_shell(n) System identification support code and uti
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell. This package allows the

manpages/xsetwacom.1.html
xsetwacom(1) - commandline utility to query and modify wacom
This program queries or changes properties on the devices loaded by the wacom driver. The modification of properties happens at runtime and is not persistent th

manpages/Tk_GetColorFromObj.3.html
Tk_GetColorFromObj(3) - maintain database of colors.........
These procedures manage the colors being used by a Tk application. They allow colors to be shared whenever possible, so that colormap space is preserved, and th

manpages/gluDeleteTess.3gl.html
gluDeleteTess(3gl) - destroy a tessellation object (ManPage)
gluDeleteTess destroys the indicated tessellation object (which was created with gluNewTess) and frees any memory that it used. SEE ALSO gluBeginPolygon(3G), gl

manpages/TAP::Parser::Iterator::Array.3pm.html
TAP::Parser::Iterator::Array(3pm) - Iterator for array-based
This is a simple iterator wrapper for arrays of scalar content, used by TAP::Parser. Unless youre writing a plugin or subclassing, you probably wont need to use

manpages/iso-8859-9.7.html
iso-8859-9(7) - ISO 8859-9 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-9, also known as the Latin Alphabet No.

manpages/glMapGrid2f.3gl.html
glMapGrid2f(3gl) - define a one- or two-dimensional mesh....
glMapGrid and glEvalMesh are used together to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh steps through the intege

manpages/lsblk.8.html
lsblk(8) - list block devices (Admin - Linux man page)......
lsblk lists information about all available or the specified block devices. The lsblk command reads the sysfs filesystem to gather information. The command prin

manpages/ldap_extended_operation.3.html
ldap_extended_operation(3) - Extends the LDAP operations to
The ldap_extended_operation_s() routine is used to synchronously perform an LDAP extended operation. It takes requestoid, which points to a dotted-decimal OID s

manpages/hzip.1.html
hzip(1) - compress and encrypt dictionary files (Man Page)
hunzip is a small utility for text file compression and encryption, especially for sorted dictionaries. hunspell filename creates the compressed file filename.h

manpages/Ttk_PackBox.3.html
Ttk_PackBox(3) - Tk themed geometry utilities (Man Page)....
The Ttk_Box structure represents a rectangular region of a window: typedef struct { int x; int y; int width; int height; } Ttk_Box; All coordinates are relative

manpages/l2ping.8.html
l2ping(8) - Send L2CAP echo request and receive answer......
l2ping.8 - L2ping sends a L2CAP echo request to the Bluetooth MAC address bd_addr given in dotted hex notation. OPTIONS -i &lt;hciX&gt; The command is applied to devi





We can't live, work or learn in freedom unless the software we use is free.