ST LDAPVW Smalltalk

by Thomas Gagné
Last updated: April 12, 2004


Download the ST LDAP parcels!

The latest version is 0.4.1, updated March 19, 2004. It contains important bug fixes for memory leaks caused by not properly allocating (then deallocating) heap memory.

Download the latest by clicking here!

read the change list

Inspect the Smalltalk LDAP API (work in progress)

General Comments

(4/12/2004) It was pointed out to me by Kurt Zeilenga, executive director of OpenLDAP Foundation that the LDAP API isn't specifically OpenLDAP's and that this Smalltalk interface might be able to work with Netscape's, Novell's, or IBM's among others.

"Note that all of these LDAP C libraries implement the same basic API which OpenLDAP LDAP C libraries do. In fact, most of these LDAP C libraries are based, in part, on OpenLDAP LDAP C libraries or the U-Mich LDAP C libraries (which OpenLDAP LDAP C libraries derive from).

"That is, you'll find ldap_search_s(3) in everyone of the LDAP C LDAP libraries. And you'll find ldap_initialize(3) (which was original introduced by the OpenLDAP Project) in many of these LDAP C libraries. And, as the providers of LDAP C libraries share API development efforts, you can expect commonality to increase in their implementations of the API over time (eventually will be published as an RFC updating RFC 1823). It should be clear that the LDAP C API isn't OpenLDAP's, it's the community. OpenLDAP Project just offers an implementation of the LDAP C API."

With that information in-hand, I've some renaming to do because Kurt's right. It is misleading to advertise the package as an OpenLDAP ST API when in fact it might work with multiple libraries.


There already exists an LDAP implementation for both VW 5i.x and 7 implemented totally in Smalltalk, originally created by Matt Rosen. From his original work I borrowed some class and method names.

There were some odd behaviors when it came to referrals and it was more complicated than I was able to debug. In the spirit of reuse I thought it would be valuable to interface Smalltalk to the OpenLDAP libraries.

Download the latest .tgz, unpack it and load it into a VW image. Look for the classes

  1. OpenLDAP
  2. OpenLDAPConnection
  3. OpenLDAPException
  4. LDAPEntry
  5. LDAPAttribute
  6. LDAPAttributeSet
  7. LDAPMessage
  8. LDAPSearchResults

Feel free to contact me with questions.

Notes:

Change List

March 19, 2004

March 18, 2004

March 7, 2004

March 5, 2004

March 1, 2004

February 27, 2004

July 25, 2003

July 23, 2003

December 15, 2002