LDAP_MODRDN
NAMELIBRARY
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/FcFreeTypeCharIndex.3.html
FcFreeTypeCharIndex(3) - map Unicode to glyph id (Man Page)
Maps a Unicode char to a glyph index. This function uses information from several possible underlying encoding tables to work around broken fonts. As a result,
manpages/wgetn_wstr.3ncurses.html
wgetn_wstr(3ncurses) - get an array of wide characters from
The effect of get_wstr is as though a series of calls to get_wch were made, until a newline, other end-of-line, or end-of-file condition is processed. An end-of
manpages/md5.1ssl.html
md5(1ssl) message digests (Commands - Linux manual page)....
The digest functions output the message digest of a supplied file or files in hexadecimal. The digest functions also generate and verify digital signatures usin
manpages/XtScreenDatabase.3.html
XtScreenDatabase(3) - initialize, open, or close a display
The XtDisplayInitialize function builds the resource database, calls the Xlib XrmParseCommand function to parse the command line, and performs other per display
manpages/XtAppUnlock.3.html
XtAppUnlock(3) - lock and unlock application context........
XtAppLock locks the application context including all its related displays and widgets. XtAppUnlock unlocks the application context. SEE ALSO X Toolkit Intrinsi
manpages/freehostent.3.html
freehostent(3) - get network hostnames and addresses........
These functions are deprecated (and unavailable in glibc). Use getaddrinfo(3) and getnameinfo(3) instead. The getipnodebyname() and getipnodebyaddr() functions
manpages/gnutls_pkcs11_token_get_info.3.html
gnutls_pkcs11_token_get_info(3) - API function (Man Page)...
This function will return information about the PKCS 11 token such as the label, id, etc. RETURNS GNUTLS_E_SUCCESS (0) on success or a negative error code on er
manpages/git-archive.1.html
git-archive(1) - Create an archive of files from a named tre
Creates an archive of the specified format containing the tree structure for the named tree, and writes it out to the standard output. If <prefix> is specified
manpages/XSetWindowColormap.3.html
XSetWindowColormap(3) - change window attributes (Man Page)
Depending on the valuemask, the XChangeWindowAttributes function uses the window attributes in the XSetWindowAttributes structure to change the specified window
manpages/tk_focusPrev.n.html
tk_focusPrev(n) - Utility procedures for managing the input
tk_focusNext is a utility procedure used for keyboard traversal. It returns the next window after window in focus order. The focus order is determined by the st
manpages/cbreak.3ncurses.html
cbreak(3ncurses) - curses input options - Linux manual page
Normally, the tty driver buffers typed characters until a newline or carriage return is typed. The cbreak routine disables line buffering and erase/kill charact
manpages/listbox.n.html
listbox(n) - Create and manipulate listbox widgets (ManPage)
The listbox command creates a new window (given by the pathName argument) and makes it into a listbox widget. Additional options, described above, may be specif
