LDAP SDK

API Documentation

LDAPv3 RFCs

RFC 2251
Lightweight Directory Access Protocol (v3)
RFC 2252
Lightweight Directory Access Protocol (v3): Attribute Syntax Definitions
RFC 2253
Lightweight Directory Access Protocol (v3): UTF-8 String Representation of Distinguished Names
RFC 2254
The String Representation of LDAP Search Filters
RFC 2255
The LDAP URL Format
RFC 2256
A Summary of the X.500(96) User Schema for use with LDAPv3

Other RFCs of Interest

RFC 1823
The LDAP Application Program Interface (LDAPv2 API)
RFC 2044
UTF-8, a transformation format of Unicode and ISO 10646
RFC 2195
IMAP/POP AUTHorize Extension for Simple Challenge/Response (CRAM-MD5)
RFC 2222
Simple Authentication and Security Layer (SASL)
RFC 2247
Using Domains in LDAP/X.500 Distinguished Names

Sample Code

search.c
Sample search client framework.
getval.c
Command-line LDAP search client to retrieve a single attribute value.
watchchange.c
More complex LDAP client to demonstrate extensions.