Skip to content | Change text size
 

Programming with LDAP

Prerequisite

You should already have some experience in Perl or another appropriate language, and a general understanding of how LDAP works before trying to understand any of the following.

Languages

The following languages and environments provide LDAP interfaces:

C

Netscape Directory SDK
Here's a nice article explaining how to use it.
OpenLDAP
This is an Open-Source effort that's picking up where the University of Michigan code left off when its primary developers were bought off by Netscape.

Perl

Perl-LDAP
A collection of perl modules which provide an interface to LDAP servers

Pager is a simple example written in perl that lets you change your pager number. It is complicated somewhat by all the error messages.

Python

ldapmodule
There's also an example script that uses this library.

Java

JNDI
Sun's Java Naming and Directory Interface (JNDI) talks to a variety of directory services.
Netscape LDAP Java SDK
Netscape also have LDAP Java classes

TCL

tclLDap-pkg
Apparently a reimplementation of an older addon.

Microsoft Windows

Windows LDAP Protocol Reference