Functions

This section describes the API functions supported in LDAP 2 and 3. The table of contents lists the functions in alphabetical order. The following functions are grouped by task.

Starting and Stopping an LDAP Session

Use these functions to initialize and open a connection block, authenticate a client to a server, set options for the LDAP session, and close a session.

Modifying Directory Entries

Use these functions to perform operations on directory entries.

Searching, Sorting, and Result Handling

Use these functions to search a directory or sort and parse results, with or without controls.

Error Handling

Use these functions to handle errors.

Memory Management

Use these functions to explicitly free data structures when no longer required.

Miscellaneous Functions

Use these functions to convert the forms of distinguished names, modify entry names, convert text strings, and set debugging options.