Splits the specified orphan partition from the specified server.
#include <ldapx.h> int ldap_split_orphan_partition ( LDAP *ld, char *serverDN, char *contextName);
(IN) Points to the handle for the LDAP session.
(IN) Points to the distinguished name of the server holding the orphan partition.
(IN) Points to the distinguished name of the orphan partition (naming context) to split.
0x00 |
LDAP_SUCCESS |
0x53 |
LDAP_ENCODING_ERROR |
0x5A |
LDAP_NO_MEMORY |
0x5C |
LDAP_NOT_SUPPORTED |
Non-zero |
Non-zero values indicate errors. See |
This function fails if the server does not hold the specified partition.
The requestName is set to the OID (2.16.840.1.113719.1.27.100.41) and the requestValue is a BER encoding of the following:
RequestBer serverDN LDAPDN contextName LDAPDN
The responseName is set to the OID (2.16.840.1.113719.1.27.100.42) and the responseValue has no value.
ResponseBer NULL