LDAP_CREATE_RESUME_ROLE_REQUEST
Use the LDAP_CREATE_RESUME_ROLE_REQUEST API
to create a request for resuming the role extended operation. The
LDAP routine creates a berval that can be sent by using the proxy
back-end server resume role extended operation.
Synopsis
#include ldap.h
struct berval* ldap_create_resume_role_request (
int RequestType,
char *PartitionName,
char *ServerName)Input parameters
- RequestType
- One of the request types that are defined in ldap.h.
The request type can have one of the following values:
- All (0)
- Partition (1)
- Server (2)
- ServerInAPartition (3)
- PartitionName
- Specifies the partition name for the request. If request value
is 1 or 3, PartitionName must
not be NULL. The partition name is one of the following names that
are configured in the configuration file:
ibm-slapdProxySplitName=Nameibm-slapdProxyPartitionIndex=index valueibm-slapdProxySplitName=Name
- ServerName
- Specifies the server URL for the request. If request value is 2 or 3, ServerName must not be NULL.
Usage
This API routine creates a berval that is sent by using the proxy back-end server resume role extended operation.
Errors
This routine does not return any return code. If any errors are encountered, the value of the returned berval is set to NULL.
See also
See LDAP_ERROR for a list of the LDAP error codes.