guile-ldap is an extension for GNU Guile providing bindings to the OpenLDAP client library. With this library, your Guile Scheme programs can search for information on LDAP servers. The library does not yet support LDAP operations to modify data on the server; let me know if you have a need for that, or any other missing LDAP features.

This package is discussed on the prjware list. New releases are announced on the prjware-announce list.


guile-ldap is devoid of warranty and is distributed under the GNU General Public License, version 2. But that doesn't mean it's necessarily a good idea for you to distribute modified versions. (That includes repackaging.) I'd like to know if you plan to do that.

This link always points to the latest version (currently 2003.11.03).

Older versions are published for historical interest.


guile-ldap requires GNU Guile and OpenLDAP. Edit conf-compile/depend_* as necessary during installation.


slashpackage is a good thing. You can read more about it here. If you don't already have /package, create it (on any filesystem you like, as long as it's accessible by the name “/package”):

# mkdir -p /usr/local/package
# ln -s /usr/local/package /
# chmod +t /package/.

Then run sp-install:

# sp-install guile-ldap-VERSION.tar.bz2

Or, if you like to do things manually, unpack the tarball and run package/install:

# cd /package
# bunzip2 < /path/to/guile-ldap-VERSION.tar.bz2 |
> tar -xpf -
# cd data/guile-ldap-VERSION
# package/install

Read package/README and package/INSTALL for more detailed instructions.


For now, the source is the documentation. The good news is that some of the procedures have docstrings. Note that the ldap.scm Scheme library is not meant for use with use-modules; simply load it with (load "/package/data/guile-ldap/scheme/ldap.scm"), or to protect against namespace invasion, use the loading procedure from prjlibs.

Current known bugs


To do