8.2. C LDAP Application Programming Interface (API)
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.
8.2.1. Introduction
The basic conversation between an LDAP client and an LDAP server is essentially accomplished in four steps:
1. | 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 ... |
Get LDAP Implementation Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.