Syntax
#include "slapi-plugin.h" Slapi_PBlock *slapi_modrdn_internal( char * olddn, char * newrdn, int deloldrdn, LDAPControl **controls, int log_change);
Parameters
The function has the following parameters:
Returns. A new parameter block (see "Slapi_PBlock" on page 215) with the following parameter set:
SLAPI_PLUGIN_INTOP_RESULT specifies the LDAP result code for the internal LDAP operation (for example, LDAP_SUCCESS if the operation is successful or LDAP_PARAM_ERROR if an invalid parameter is used). If the DN of the entry has a suffix that is not served by the Directory Server, SLAPI_PLUGIN_INTOP_RESULT is set to LDAP_REFERRAL.
If the DN of the entry has a suffix that is not served by the Directory Server, SLAPI_PLUGIN_INTOP_RESULT is set to LDAP_REFERRAL.
Description. This function allows you to rename an entry to the directory from a plug-in function. The arguments for this function are similar to the arguments for the standard ldap_modrdn2() function in the Netscape LDAP C SDK.
Unlike the standard LDAP modify RDN operation, no LDAP result code to a client. Instead, the result code is placed in a parameter block that is returned by the function.
Example
[To be added]
See Also