This section describes the API library for C language applications. We use an example-driven approach to discuss the basic functions used for establishing connections, doing searches, and parsing the results. You will often find the LDAP server saturn mentioned in these examples. This is the name of the LDAP server that was used to run the examples running the IBM SecureWay Directory server on AIX.
The basic conversation between an LDAP client and an LDAP server is essentially accomplished in four steps:
The first step is to initialize an LDAP session. This is done with the ldap_init() or ldap_open() API call, which returns a handle to an LDAP session allowing multiple ...