ldapModrdnW(3ibx) — Subroutines
NAME
ldapModrdnW − Modifies a relative distinguished name.
SYNOPSIS
| #include <libldap.h> | ||
| int ldapModrdnW( | LDAP_t ∗ldap_handle, | |
| char ∗distinguished_name, | ||
| char ∗relative_dist_name ); |
INPUT PARAMETERS
ldap_handleThe address of an LDAP handle.
distinguished_nameThe address of the string containing the distinguished name that you want to modify. LDAP expects relative distinguished names to be separated with commas and to go, in order, from the entry in the tree to the root, as in the following example:
(cn="Joan Smith", ou=marketing, o="Big Corporation", c=us)
relative_dist_nameThe address of a string containing the new relative distinguished name (for instance, "cn="Joan A. Smith"") to be included in the distinguished name.
DESCRIPTION
The ldapModrdnW function performs its operation synchronously.
INFOBROKER NOTES
This function works only with an X.500 Directory Service; you cannot use this function to modify entries in the InfoBroker workgroup directory.
RETURNS
One of the LDAP standard return values: LDAP_message.
RELATED INFORMATION
Functions: ldapAddW(3), ldapDeleteDNW(3), ldapModifyW(3).