ldap_sslinitW.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

ldap_sslinitW (WLDAP32.@)

SYNOPSIS

WLDAP32_LDAP * CDECL ldap_sslinitW
 (
  PWCHAR hostname,
  ULONG  portnumber,
  int    secure
 )

DESCRIPTION

Initialize an LDAP context and create a secure TCP connection.

PARAMS

hostname [In] Name of the host to connect to.

portnumber [In] Portnumber to use.

secure [In] Ask the server to create an SSL connection.

RETURNS

Success: Pointer to an LDAP context.

Failure: NULL.

NOTES

The hostname string can be a space separated string of hostnames, in which case the LDAP runtime will try to connect to the hosts in order, until a connection can be made. A hostname may have a trailing portnumber (separated from the hostname by a ':'), which will take precedence over the portnumber supplied as a parameter to this function. The connection will not be made until the first LDAP function that needs it is called.

IMPLEMENTATION

Defined in "winldap_private.h".

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