ldap_sasl_bind_sW.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

ldap_sasl_bind_sW (WLDAP32.@)

SYNOPSIS

ULONG CDECL ldap_sasl_bind_sW
 (
  WLDAP32_LDAP*  ld,
  const PWCHAR   dn,
  const PWCHAR   mechanism,
  const BERVAL*  cred,
  PLDAPControlW* serverctrls,
  PLDAPControlW* clientctrls,
  PBERVAL*       serverdata
 )

DESCRIPTION

Authenticate with an LDAP server using SASL (synchronous 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.

serverdata [Out] Authentication response from the server.

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

Defined in "winldap_private.h".

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