Поделиться через


LDAP Session Functions (Windows Embedded CE 6.0)

1/6/2010

The following table shows the LDAP session functions with a description of the purpose of each.

Programming element Description

cldap_open

This function establishes a session with a Lightweight Directory Access Protocol (LDAP) server over a connectionless User Datagram Protocol (UDP) service.

ldap_abandon

This function is called by a client to cancel an in-progress asynchronous LDAP call.

ldap_bind

This function is an asynchronous function that authenticates a client to the LDAP server. The bind operation identifies a client to the directory server by providing a distinguished name and some type of authentication credential, such as a password. The authentication method being used determines the particular type of credential.

ldap_bind_s

This function is a synchronous function that authenticates a client to the LDAP server.

ldap_connect

This function establishes a connection with the server.

ldap_get_option

This function retrieves the current values of session-wide parameters.

ldap_init

This function initializes a session with an LDAP server.

ldap_open

This function creates and initializes a connection block, and then opens the connection to an LDAP server. This function is currently depreciated: users are strongly encouraged to use ldap_init instead.

ldap_sasl_bind_s

This function is a synchronous function that authenticates a client to the LDAP server using the Simple Authentication and Security Layer (SASL).

ldap_sasl_bind

This function is an asynchronous function that authenticates a client to the LDAP server using the Simple Authentication and Security Layer (SASL).

ldap_set_option

This function sets options on connection blocks.

ldap_simple_bind

This function authenticates a client to a server using a clear text password.

ldap_simple_bind_s

This function authenticates a client to a server using a clear text password.

ldap_sslinit

This function initializes a Secure Sockets Layer (SSL) session with an LDAP server.

ldap_unbind

This function frees all resources associated with an LDAP session.

ldap_unbind_s

This function frees all resources associated with an LDAP session.

See Also

Reference

LDAP Functions