LDAP is a type of structure representing the connection with the LDAP server. LDAP is not completely defined in ldap.h because the fields within the structure are not intended to be accessible to clients.
When you call functions that perform LDAP operations on an LDAP server (for example, when you call ldap_search_ext() to search the directory or ldap_modify_ext() to update an entry in the directory), you need to pass a pointer to an LDAP structure as a parameter to the function.
To create, manipulate, and free an LDAP structure, call the following functions:
LDAP structure, call the ldap_init() or ldapssl_init() function. ldap_get_option() and ldap_set_option() functions. LDAP structure, call the ldap_unbind() or ldap_unbind_s() function. Last Updated: 10/01/98 17:05:28