Edit

Share via


Lightweight Directory Access Protocol

Overview of the Lightweight Directory Access Protocol technology.

To develop Lightweight Directory Access Protocol, you need these headers:

For programming guidance for this technology, see:

Functions

 
ber_alloc_t

Allocates and constructs a new BerElement structure.
ber_bvdup

The ber_bvdup function creates a copy of the supplied berval structure.
ber_bvecfree

The ber_bvecfree function frees an array of berval structures.
ber_bvfree

The ber_bvfree function (winldap.h) frees a berval structure, which represents arbitrary binary data that is encoded according to Basic Encoding Rules (BER).
ber_bvfree

The ber_bvfree function (winber.h) frees a berval structure.
ber_first_element

The ber_first_element function is used to begin the traversal of a SET, SET OF, SEQUENCE or SEQUENCE OF data value stored in the supplied BerElement structure. It returns the tag and length of the first element.
ber_flatten

The ber_flatten function allocates a new berval structure containing the data taken from the supplied BerElement structure.
ber_free

The ber_free function frees a BerElement structure that was previously allocated with ber_alloc_t, ber_init, or the ldap_first_attribute/ ldap_next_attribute search functions.
ber_init

The ber_init function allocates a new BerElement structure containing the data taken from the supplied berval structure.
ber_next_element

The ber_next_element function is used along with ber_first_element to traverse a SET, SET OF, SEQUENCE or SEQUENCE OF data value stored in the supplied BerElement structure. It returns the tag and length of the next element in the constructed type.
ber_peek_tag

Returns the tag of the next element to be parsed in the supplied BerElement structure.
ber_printf

Used to encode a BER element and is similar to sprintf_s.
ber_scanf

The ber_scanf function decodes a BER element in a similar manner as sscanf_s.
ber_skip_tag

The ber_skip_tag function skips the current tag and returns the tag of the next element in the supplied BerElement structure.
cldap_open

The cldap_open function (winldap.h) establishes a session with an LDAP server over a connectionless User Datagram Protocol (UDP) service.
cldap_openA

Establishes a session with an LDAP server over a connectionless User Datagram Protocol (UDP) service. (cldap_openA)
cldap_openW

The cldap_openW (Unicode) function (winldap.h) establishes a session with an LDAP server over a connectionless User Datagram Protocol (UDP) service.
ldap_abandon

A client calls ldap_abandon to cancel an in-process asynchronous LDAP call.
ldap_add

The ldap_add function (winldap.h) initiates an asynchronous add operation to a directory tree.
ldap_add_ext

The ldap_add_ext (winldap.h) function initiates an asynchronous add operation to a tree.
ldap_add_ext_s

The ldap_add_ext_s function (winldap.h) initiates a synchronous add operation to a tree.
ldap_add_ext_sA

The ldap_add_ext_s function initiates a synchronous add operation to a tree. For an add operation to succeed, the parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root). (ldap_add_ext_sA)
ldap_add_ext_sW

The ldap_add_ext_sW (Unicode) function (winldap.h) initiates a synchronous add operation to a tree.
ldap_add_extA

The ldap_add_ext function initiates an asynchronous add operation to a tree. The parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root) for an add operation to succeed. (ldap_add_extA)
ldap_add_extW

The ldap_add_extW (Unicode) function (winldap.h) initiates an asynchronous add operation to a tree.
ldap_add_s

The ldap_add_s function (winldap.h) initiates a synchronous add operation that adds an entry to a tree.
ldap_add_sA

The ldap_add_s function initiates a synchronous add operation that adds an entry to a tree. The parent of the entry being added must already exist or the parent must be empty (equal to the root distinguished name) for an add operation to succeed. (ldap_add_sA)
ldap_add_sW

The ldap_add_sW (Unicode) function (winldap.h) initiates a synchronous add operation that adds an entry to a tree.
ldap_addA

Initiates an asynchronous add operation to a directory tree. (ldap_addA)
ldap_addW

The ldap_addW (Unicode) function (winldap.h) initiates an asynchronous add operation to a directory tree.
ldap_bind

The ldap_bind function (winldap.h) asynchronously authenticates a client with the LDAP server.
ldap_bind_s

The ldap_bind_s function (winldap.h) synchronously authenticates a client to the LDAP server.
ldap_bind_sA

Synchronously authenticates a client to the LDAP server. (ldap_bind_sA)
ldap_bind_sW

The ldap_bind_sW (Unicode) function (winldap.h) synchronously authenticates a client to the LDAP server.
ldap_bindA

Asynchronously authenticates a client with the LDAP server. (ldap_bindA)
ldap_bindW

the ldap_bindW (Unicode) function (winldap.h) asynchronously authenticates a client with the LDAP server.
ldap_check_filterA

The ldap_check_filter function is used to verify filter syntax. (ANSI)
ldap_check_filterW

The ldap_check_filter function is used to verify filter syntax. (Unicode)
ldap_cleanup

Warning  The ldap_cleanup function may cause unpredictable behavior at DLL unload time so, there is no way to safely clean up resources when dynamically loading and unloading the wldap32.dll.Because of this, resource leaks can occur on unload of the library. Use of ldap_cleanup is therefore not recommended and, is at your own risk. .
ldap_close_extended_op

The ldap_close_extended_op function ends a request that was made by calling ldap_extended_operation.
ldap_compare

The ldap_compare function (winldap.h) determines whether an attribute for a given entry holds a known value.
ldap_compare_ext

The ldap_compare_ext function (winldap.h) determines if an attribute, for a given entry, holds a known value.
ldap_compare_ext_s

The ldap_compare_ext_s function (winldap.h) determines if an attribute, for a given entry, holds a known value.
ldap_compare_ext_sA

Use the ldap_compare_ext_s function to determine if an attribute, for a given entry, holds a known value. (ldap_compare_ext_sA)
ldap_compare_ext_sW

The ldap_compare_ext_sW (Unicode) function (winldap.h) determines if an attribute, for a given entry, holds a known value.
ldap_compare_extA

Use the ldap_compare_ext function to determine if an attribute, for a given entry, holds a known value. (ldap_compare_extA)
ldap_compare_extW

The ldap_compare_extW (Unicode) function (winldap.h) determines if an attribute, for a given entry, holds a known value.
ldap_compare_s

The ldap_compare_s function (winldap.h) determines whether an attribute for a given entry holds a known value.
ldap_compare_sA

Use the ldap_compare_s function to determine whether an attribute for a given entry holds a known value. (ldap_compare_sA)
ldap_compare_sW

The ldap_compare_sW (Unicode) function (winldap.h) determines whether an attribute for a given entry holds a known value.
ldap_compareA

Use the ldap_compare function to determine whether an attribute for a given entry holds a known value. (ldap_compareA)
ldap_compareW

The ldap_compareW (Unicode) function (winldap.h) determines whether an attribute for a given entry holds a known value.
ldap_conn_from_msg

Returns the LDAP session handle (connection pointer) for a particular message.
ldap_connect

The ldap_connect function establishes a connection with the server.
ldap_control_free

The ldap_control_free function (winldap.h) frees an LDAPControl structure.
ldap_control_freeA

The ldap_control_free function frees an LDAPControl structure. (ldap_control_freeA)
ldap_control_freeW

The ldap_control_freeW (Unicode) function (winldap.h) frees an LDAPControl structure.
ldap_controls_free

The ldap_controls_free function (winldap.h) frees an array of LDAPControl structures.
ldap_controls_freeA

Frees an array of LDAPControl structures. (ldap_controls_freeA)
ldap_controls_freeW

The ldap_controls_freeW (Unicode) function (winldap.h) frees an array of LDAPControl structures.
ldap_count_entries

The ldap_count_entries function counts the number of search entries that a server returned.
ldap_count_references

The ldap_count_references function counts the number of subordinate references that were returned by the server in a response to a search request.
ldap_count_values

The ldap_count_values function (winldap.h) counts the number of values in a list.
ldap_count_values_len

Counts the number of values in a list.
ldap_count_valuesA

The ldap_count_values function counts the number of values in a list. (ldap_count_valuesA)
ldap_count_valuesW

The ldap_count_valuesW (Unicode) function (winldap.h) counts the number of values in a list.
ldap_create_page_control

The ldap_create_page_control function (winldap.h) creates a basic control for paging results.
ldap_create_page_controlA

Use the ldap_create_page_control function to create a basic control for paging results. Support for controls is available effective with LDAP 3, but whether the page control is supported or not is dependent on the particular server. (ldap_create_page_controlA)
ldap_create_page_controlW

The ldap_create_page_controlW (Unicode) function (winldap.h) creates a basic control for paging results.
ldap_create_sort_control

The ldap_create_sort_control function (winldap.h) is used to format a list of sort keys into a search control.
ldap_create_sort_controlA

The ldap_create_sort_control function is used to format a list of sort keys into a search control. Support for controls is available effective with LDAP 3, but whether the sort control is supported or not is dependent on the particular server. (ldap_create_sort_controlA)
ldap_create_sort_controlW

The ldap_create_sort_controlW (Unicode) function (winldap.h) is used to format a list of sort keys into a search control.
ldap_create_vlv_controlA

The ldap_create_vlv_control function is used to create the request control (LDAP_CONTROL_VLVREQUEST) on the server. (ANSI)
ldap_create_vlv_controlW

The ldap_create_vlv_control function is used to create the request control (LDAP_CONTROL_VLVREQUEST) on the server. (Unicode)
ldap_delete

The ldap_delete function (winldap.h) deletes an entry from the directory tree.
ldap_delete_ext

The ldap_delete_ext function (winldap.h) is an extended routine that removes a leaf entry from the directory tree.
ldap_delete_ext_s

The ldap_delete_ext_s function (winldap.h) is an extended routine that performs a synchronous operation to remove a leaf entry from the directory tree.
ldap_delete_ext_sA

The ldap_delete_ext_s function is an extended routine that performs a synchronous operation to remove a leaf entry from the directory tree. (ldap_delete_ext_sA)
ldap_delete_ext_sW

The ldap_delete_ext_sW (Unicode) function (winldap.h) is an extended routine that performs a synchronous operation to remove a leaf entry from the directory tree.
ldap_delete_extA

The ldap_delete_ext function is an extended routine that removes a leaf entry from the directory tree. (ldap_delete_extA)
ldap_delete_extW

The ldap_delete_extW (Unicode) function (winldap.h) is an extended routine that removes a leaf entry from the directory tree.
ldap_delete_s

The ldap_delete_s function (winldap.h) is a synchronous operation that removes a leaf entry from the directory tree.
ldap_delete_sA

The ldap_delete_s function is a synchronous operation that removes a leaf entry from the directory tree. (ldap_delete_sA)
ldap_delete_sW

The ldap_delete_sW (Unicode) function (winldap.h) is a synchronous operation that removes a leaf entry from the directory tree.
ldap_deleteA

The ldap_delete function deletes an entry from the directory tree. (ldap_deleteA)
ldap_deleteW

The ldap_deleteW (Unicode) function (winldap.h) deletes an entry from the directory tree.
ldap_dn2ufn

The ldap_dn2ufn function (winldap.h) converts a distinguished name to a user-friendly format.
ldap_dn2ufnA

Converts a distinguished name to a user-friendly format. (ldap_dn2ufnA)
ldap_dn2ufnW

The ldap_dn2ufnW (Unicode) function (winldap.h) converts a distinguished name to a user-friendly format.
ldap_encode_sort_control

The ldap_encode_sort_control function formats a list of sort keys into a search control. This function is obsolete, use the ldap_create_sort_control function instead.
ldap_encode_sort_controlA

The ldap_encode_sort_control function formats a list of sort keys into a search control. This function is obsolete. Instead, use ldap_create_sort_control. (ldap_encode_sort_controlA)
ldap_encode_sort_controlW

The ldap_encode_sort_controlW (Unicode) function formats a list of sort keys into a search control. This function is obsolete, use the ldap_create_sort_controlW (Unicode) function instead.
ldap_err2string

The ldap_err2string function (winldap.h) converts a numeric LDAP error code into a null-terminated character string that describes the error.
ldap_err2stringA

Converts a numeric LDAP error code into a null-terminated character string that describes the error. (ldap_err2stringA)
ldap_err2stringW

The ldap_err2stringW (Unicode) function (winldap.h) converts a numeric LDAP error code into a null-terminated character string that describes the error.
ldap_escape_filter_element

The ldap_escape_filter_element function (winldap.h) converts a filter element to a null-terminated character string that can be passed safely in a search filter.
ldap_escape_filter_elementA

The ldap_escape_filter_element function converts a filter element to a null-terminated character string that can be passed safely in a search filter. (ldap_escape_filter_elementA)
ldap_escape_filter_elementW

The ldap_escape_filter_elementW (Unicode) function (winldap.h) converts a filter element to a null-terminated character string that can be passed safely in a search filter.
ldap_explode_dn

The ldap_explode_dn function (winldap.h) breaks up an entry name into its component parts.
ldap_explode_dnA

The ldap_explode_dn function breaks up an entry name into its component parts. (ldap_explode_dnA)
ldap_explode_dnW

The ldap_explode_dnW (Unicode) function (winldap.h) breaks up an entry name into its component parts.
ldap_extended_operation

The ldap_extended_operation function (winldap.h) enables you to pass extended LDAP operations to the server.
ldap_extended_operation_sA

Used to pass extended LDAP operations to the server. (ANSI)
ldap_extended_operation_sW

Used to pass extended LDAP operations to the server. (Unicode)
ldap_extended_operationA

The ldap_extended_operation function enables you to pass extended LDAP operations to the server. (ldap_extended_operationA)
ldap_extended_operationW

The ldap_extended_operationW (Unicode) function (winldap.h) enables you to pass extended LDAP operations to the server.
ldap_first_attribute

The ldap_first_attribute function (winldap.h) returns the first attribute.
ldap_first_attributeA

Returns the first attribute. (ldap_first_attributeA)
ldap_first_attributeW

The ldap_first_attributeW (Unicode) function (winldap.h) returns the first attribute.
ldap_first_entry

The ldap_first_entry function returns the first entry of a message.
ldap_first_reference

Returns the first reference from a message.
ldap_free_controls

The ldap_free_controls function (winldap.h) is an obsolete function which frees an array of LDAPControl structures.
ldap_free_controlsA

Obsolete function which frees an array of LDAPControl structures. (ldap_free_controlsA)
ldap_free_controlsW

The ldap_free_controlsW (Unicode) function (winldap.h) is an obsolete function which frees an array of LDAPControl structures.
ldap_get_dn

The ldap_get_dn function (winldap.h) retrieves the distinguished name for a given entry.
ldap_get_dnA

The ldap_get_dn function retrieves the distinguished name for a given entry. (ldap_get_dnA)
ldap_get_dnW

The ldap_get_dnW (Unicode) function (winldap.h) retrieves the distinguished name for a given entry.
ldap_get_next_page

Returns the next page in a sequence of asynchronous paged search results.
ldap_get_next_page_s

Returns the next page in a sequence of synchronous paged search results.
ldap_get_option

The ldap_get_option function (winldap.h) retrieves the current values of session-wide parameters.
ldap_get_optionW

The ldap_get_optionW (Unicode) function (winldap.h) retrieves the current values of session-wide parameters.
ldap_get_paged_count

Records the number of paged results that the server has returned for a search.
ldap_get_values

The ldap_get_values function (winldap.h) retrieves the list of values of a given attribute.
ldap_get_values_len

The ldap_get_values_len function (winldap.h) retrieves the list of values for a given attribute.
ldap_get_values_lenA

The ldap_get_values_len function retrieves the list of values for a given attribute. (ldap_get_values_lenA)
ldap_get_values_lenW

The ldap_get_values_lenW (Unicode) function (winldap.h) retrieves the list of values for a given attribute.
ldap_get_valuesA

The ldap_get_values function retrieves the list of values of a given attribute. (ldap_get_valuesA)
ldap_get_valuesW

The ldap_get_valuesW (Unicode) function (winldap.h) retrieves the list of values of a given attribute.
ldap_init

The ldap_init function (winldap.h) initializes a session with an LDAP server.
ldap_initA

Initializes a session with an LDAP server. (ldap_initA)
ldap_initW

The ldap_initW (Unicode) function (winldap.h) initializes a session with an LDAP server.
ldap_memfree

The ldap_memfree function (winldap.h) frees memory allocated from the LDAP heap.
ldap_memfreeA

Frees memory allocated from the LDAP heap. (ldap_memfreeA)
ldap_memfreeW

The ldap_memfreeW (Unicode) function (winldap.h) frees memory allocated from the LDAP heap.
ldap_modify

The ldap_modify function (winldap.h) initiates an asynchronous operation to modify an existing entry.
ldap_modify_ext

The ldap_modify_ext function changes an existing entry. (ldap_modify_extW)
ldap_modify_ext_s

The ldap_modify_ext_s function (winldap.h) initiates an asynchronous operation to modify an existing entry.
ldap_modify_ext_sA

The ldap_modify_ext_s function changes an existing entry. (ldap_modify_ext_sA)
ldap_modify_ext_sW

The ldap_modify_ext_sW (Unicode) function (winldap.h) initiates an asynchronous operation to modify an existing entry.
ldap_modify_extA

The ldap_modify_ext function changes an existing entry. (ldap_modify_extA)
ldap_modify_extW

The ldap_modify_extW (Unicode) function (winldap.h) initiates an asynchronous operation to modify an existing entry.
ldap_modify_s

The ldap_modify_s function (winldap.h) initiates an asynchronous operation to modify an existing entry.
ldap_modify_sA

The ldap_modify_s function changes an existing entry. (ldap_modify_sA)
ldap_modify_sW

The ldap_modify_sW (Unicode) function (winldap.h) initiates an asynchronous operation to modify an existing entry.
ldap_modifyA

The ldap_modify function changes an existing entry. (ldap_modifyA)
ldap_modifyW

The ldap_modifyW (Unicode) function (winldap.h) initiates an asynchronous operation to modify an existing entry.
ldap_modrdn

The ldap_modrdn function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_modrdn_s

The ldap_modrdn_s function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_modrdn_sA

Changes the relative distinguished name of an LDAP entry. (ldap_modrdn_sA)
ldap_modrdn_sW

The ldap_modrdn_sW (Unicode) function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_modrdn2

The ldap_modrdn2 function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_modrdn2_s

The ldap_modrdn2_s function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_modrdn2_sA

The ldap_modrdn2_s function changes the relative distinguished name of an LDAP entry. (ldap_modrdn2_sA)
ldap_modrdn2_sW

The ldap_modrdn2_sW (Unicode) function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_modrdn2A

The ldap_modrdn2 function changes the relative distinguished name of an LDAP entry. (ldap_modrdn2A)
ldap_modrdn2W

The ldap_modrdn2W (Unicode) function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_modrdnA

The ldap_modrdn function changes the relative distinguished name of an LDAP entry. (ldap_modrdnA)
ldap_modrdnW

The ldap_modrdnW (Unicode) function (winldap.h) changes the relative distinguished name of an LDAP entry.
ldap_msgfree

The ldap_msgfree function frees the results obtained from a previous call to ldap_result, or to one of the synchronous search routines.
ldap_next_attribute

The ldap_next_attribute function (winldap.h) returns the next attribute.
ldap_next_attributeA

Returns the next attribute. (ldap_next_attributeA)
ldap_next_attributeW

The ldap_next_attributeW (Unicode) function (winldap.h) returns the next attribute.
ldap_next_entry

The ldap_next_entry function retrieves an entry from a search result chain.
ldap_next_reference

Retrieves a reference from a search result chain.
ldap_open

The ldap_open function creates and initializes a connection block, then opens the connection to an LDAP server. It is not recommended, use the ldap_init function instead.
ldap_openA

ldap_open is not recommended for use. (ldap_openA)
ldap_openW

The ldap_openW (Unicode) function creates and initializes a connection block, then opens the connection to an LDAP server. It is not recommended, use the ldap_initW (Unicode) function instead.
ldap_parse_extended_resultA

The ldap_parse_extended_result parses the results of an LDAP extended operation. (ANSI)
ldap_parse_extended_resultW

The ldap_parse_extended_result parses the results of an LDAP extended operation. (Unicode)
ldap_parse_page_control

The ldap_parse_page_control function (winldap.h) parses the results of a search into pages.
ldap_parse_page_controlA

The ldap_parse_page_control parses the results of a search into pages. (ldap_parse_page_controlA)
ldap_parse_page_controlW

The ldap_parse_page_controlW (Unicode) function (winldap.h) parses the results of a search into pages.
ldap_parse_reference

The ldap_parse_reference function (winldap.h) returns a list of subordinate referrals in a search response message.
ldap_parse_referenceA

The ldap_parse_reference function returns a list of subordinate referrals in a search response message. (ldap_parse_referenceA)
ldap_parse_referenceW

The ldap_parse_referenceW (Unicode) function (winldap.h) returns a list of subordinate referrals in a search response message.
ldap_parse_result

The ldap_parse_result function (winldap.h) parses responses from the server and returns the appropriate fields.
ldap_parse_resultA

The ldap_parse_result function parses responses from the server and returns the appropriate fields. (ldap_parse_resultA)
ldap_parse_resultW

The ldap_parse_resultW (Unicode) function (winldap.h) parses responses from the server and returns the appropriate fields.
ldap_parse_sort_control

The ldap_parse_sort_control function (winldap.h) parses the sort control returned by the server.
ldap_parse_sort_controlA

The ldap_parse_sort_control function parses the sort control returned by the server. (ldap_parse_sort_controlA)
ldap_parse_sort_controlW

The ldap_parse_sort_controlW (Unicode) function (winldap.h) parses the sort control returned by the server.
ldap_parse_vlv_controlA

Used to find and parse VLV search results. (ANSI)
ldap_parse_vlv_controlW

Used to find and parse VLV search results. (Unicode)
ldap_perror

Obsolete function. It exists only for compatibility.
ldap_rename_ext

The ldap_rename_ext function (winldap.h) starts an asynchronous operation that changes the distinguished name of an entry in the directory.
ldap_rename_ext_s

The ldap_rename_ext_s function (winldap.h) is a synchronous operation that changes the distinguished name of an entry in the directory.
ldap_rename_ext_sA

The ldap_rename_ext_s function is a synchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3. (ldap_rename_ext_sA)
ldap_rename_ext_sW

The ldap_rename_ext_sW (Unicode) function (winldap.h) is a synchronous operation that changes the distinguished name of an entry in the directory.
ldap_rename_extA

The ldap_rename_ext function starts an asynchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3. (ldap_rename_extA)
ldap_rename_extW

The ldap_rename_extW (Unicode) function (winldap.h) starts an asynchronous operation that changes the distinguished name of an entry in the directory.
ldap_result

Obtains the result of an asynchronous operation.
ldap_result2error

The ldap_result2error function parses a message and returns the error code.
ldap_sasl_bind_sA

The ldap_sasl_bind_s function is a synchronous function that authenticates a client to the LDAP server using SASL. (ANSI)
ldap_sasl_bind_sW

The ldap_sasl_bind_s function is a synchronous function that authenticates a client to the LDAP server using SASL. (Unicode)
ldap_sasl_bindA

The ldap_sasl_bind is an asynchronous function that authenticates a client to the LDAP server using SASL. (ANSI)
ldap_sasl_bindW

The ldap_sasl_bind is an asynchronous function that authenticates a client to the LDAP server using SASL. (Unicode)
ldap_search

The ldap_search function (winldap.h) searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_abandon_page

The ldap_search_abandon_page function terminates a paged-results search.
ldap_search_ext

The ldap_search_ext function (winldap.h) searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_ext_s

The ldap_search_ext_s function (winldap.h) synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_ext_sA

Synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry. (ldap_search_ext_sA)
ldap_search_ext_sW

The ldap_search_ext_sW (Unicode) function (winldap.h) synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_extA

Searches the LDAP directory and returns a requested set of attributes for each matched entry. (ldap_search_extA)
ldap_search_extW

The ldap_search_extW (Unicode) function (winldap.h) searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_init_page

The ldap_search_init_page function (winldap.h) initializes a search block for a simple paged-results search.
ldap_search_init_pageA

Initializes a search block for a simple paged-results search. (ldap_search_init_pageA)
ldap_search_init_pageW

The ldap_search_init_pageW (Unicode) function (winldap.h) initializes a search block for a simple paged-results search.
ldap_search_s

The ldap_search_s function (winldap.h) synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_sA

The ldap_search_s function synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry. (ldap_search_sA)
ldap_search_st

The ldap_search_st function (winldap.h) synchronously searches the LDAP directory and returns a requested set of attributes for each entry matched.
ldap_search_stA

The ldap_search_st function synchronously searches the LDAP directory and returns a requested set of attributes for each entry matched. An additional parameter specifies a local time-out for the search. (ldap_search_stA)
ldap_search_stW

The ldap_search_stW (Unicode) function (winldap.h) synchronously searches the LDAP directory and returns a requested set of attributes for each entry matched.
ldap_search_sW

The ldap_search_sW (Unicode) function (winldap.h) synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_searchA

Searches the LDAP directory and returns a requested set of attributes for each matched entry. (ldap_searchA)
ldap_searchW

The ldap_searchW (Unicode) function (winldap.h) searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_set_option

The ldap_set_option function (winldap.h) sets options on connection blocks.
ldap_set_optionW

The ldap_set_optionW (Unicode) function (winldap.h) sets options on connection blocks.
ldap_simple_bind

The ldap_simple_bind function (winldap.h) asynchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bind_s

The ldap_simple_bind_s function (winldap.h) synchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bind_sA

The ldap_simple_bind_s function synchronously authenticates a client to a server, using a plaintext password. (ldap_simple_bind_sA)
ldap_simple_bind_sW

The ldap_simple_bind_sW (Unicode) function (winldap.h) synchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bindA

Asynchronously authenticates a client to a server, using a plaintext password. (ldap_simple_bindA)
ldap_simple_bindW

The ldap_simple_bindW (Unicode) function (winldap.h) asynchronously authenticates a client to a server, using a plaintext password.
ldap_sslinit

The ldap_sslinit function (winldap.h) initializes a Secure Sockets Layer (SSL) session with an LDAP server.
ldap_sslinitA

Initializes a Secure Sockets Layer (SSL) session with an LDAP server. (ldap_sslinitA)
ldap_sslinitW

The ldap_sslinitW (Unicode) function (winldap.h) initializes a Secure Sockets Layer (SSL) session with an LDAP server.
ldap_start_tls_sA

Used in an active LDAP session to begin using TLS encryption. (ANSI)
ldap_start_tls_sW

Used in an active LDAP session to begin using TLS encryption. (Unicode)
ldap_stop_tls_s

Stops the encryption operation started by a call to ldap_start_tls_s.
ldap_ufn2dn

The ldap_ufn2dn function (winldap.h) converts a user friendly name to a distinguished name.
ldap_ufn2dnA

Converts a user-friendly name to a distinguished name. (ldap_ufn2dnA)
ldap_ufn2dnW

The ldap_ufn2dnW (Unicode) function (winldap.h) converts a user friendly name to a distinguished name.
ldap_unbind

The ldap_unbind function frees resources associated with an LDAP session.
ldap_unbind_s

The ldap_unbind_s function synchronously frees resources associated with an LDAP session.
ldap_value_free

The ldap_value_free function (winldap.h) frees a structure returned by ldap_get_values.
ldap_value_free_len

The ldap_value_free_len frees berval structures that were returned by ldap_get_values_len.
ldap_value_freeA

Frees a structure returned by ldap_get_values. (ldap_value_freeA)
ldap_value_freeW

The ldap_value_freeW (Unicode) function (winldap.h) frees a structure returned by ldap_get_values.
LdapGetLastError

The LdapGetLastError function retrieves the last error code returned by an LDAP call.
LdapMapErrorToWin32

The LdapMapErrorToWin32 function translates an LdapError value to the closest Win32 error code.
LdapUnicodeToUTF8

Converts Unicode strings to UTF-8.
LdapUTF8ToUnicode

Used to translate strings for modules that do not have the UTF-8 code page.
QUERYCLIENTCERT

Enables the server to request a certificate from the client when establishing a Secure Sockets Layer (SSL) connection.
VERIFYSERVERCERT

Allows a client to evaluate the certificate chain of the server to which it is connected.

Structures

 
BerElement

C++ class object that performs basic encoding rules (BER) encoding.
LDAP

Represents an LDAP session.
LDAP_BERVAL

The berval structure represents arbitrary binary data that is encoded according to Basic Encoding Rules (BER). Use a berval to represent any attribute that cannot be represented by a null-terminated string.
LDAP_REFERRAL_CALLBACK

Used to implement external caching of connections.
LDAP_TIMEVAL

Used to represent an interval of time.
LDAPAPIFeatureInfoA

Retrieves data about any supported LDAP API extensions. (ANSI)
LDAPAPIFeatureInfoW

Retrieves data about any supported LDAP API extensions. (Unicode)
LDAPAPIInfoA

Retrieves data about the API and implementations used. (ANSI)
LDAPAPIInfoW

Retrieves data about the API and implementations used. (Unicode)
LDAPControlA

Represents both client-side and server controls. (ANSI)
LDAPControlW

Represents both client-side and server controls. (Unicode)
LDAPMessage

Used by an LDAP function to return results and error data.
LDAPModA

Holds data required to perform a modification operation. (ANSI)
LDAPModW

Holds data required to perform a modification operation. (Unicode)
LDAPSortKeyA

The LDAPSortKey structure stores sorting criteria for use by sort controls. (ANSI)
LDAPSortKeyW

The LDAPSortKey structure stores sorting criteria for use by sort controls. (Unicode)
LDAPVLVInfo

Used to set up the search parameters for a virtual list view (VLV) request control (LDAP_CONTROL_VLVREQUEST).