Reference

ldap_sasl_bindW(3w)

NAME

ldap_sasl_bindW (WLDAP32.@)

SYNOPSIS

ULONG CDECL ldap_sasl_bindW
(
WLDAP32_LDAP* ld,
const PWCHAR dn,
const PWCHAR mechanism,
const BERVAL* cred,
PLDAPControlW* serverctrls,
PLDAPControlW* clientctrls,
int* message
)

DESCRIPTION

Authenticate with an LDAP server using SASL (asynchronous operation).

PARAMS

ld [In] Pointer to an LDAP context.

dn [In] DN of entry to bind as.

mechanism [In] Authentication method.

cred [In] Credentials.

serverctrls [In] Array of LDAP server controls.

clientctrls [In] Array of LDAP client controls.

message [Out] Message Id of the bind operation.

RETURNS

Success: LDAP_SUCCESS

Failure: An LDAP error code.

NOTES

The serverctrls and clientctrls parameters are optional and should be set to NULL if not used.

IMPLEMENTATION

Declared in "winldap_private.h".

Implemented in "dlls/wldap32/bind.c".

History