LDAP_CREATE_PASSWORD_POLICY_BIND_INIT_REQUEST

Use the LDAP_CREATE_PASSWORD_POLICY_BIND_INIT_REQUEST API or LDAP routine for creating a password policy bind initialize request and verifying the extended operation request.

Synopsis

#include ldap.h


struct berval *ldap_create_password_policy_bind_init_ request (
               const char *bind_dn);

Input parameters

bind_dn
The bind DN that is used for running password policy checks.

Output parameters

berval
The berval struct contains the password policy bind initialize and the verifying extended operation request.

Usage

The ldap_create_password_policy_bind_init_request() API is used to create the prebind password policy request that can be used as input parameter to the ldap_extended_operation or ldap_extended_operation_s function.

Errors

This routine returns a null value if it encounters an error.