These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes

LDAP01/Obtaining And Installing

Classnotes | LDAP01 | RecentChanges | Preferences

OpenLDAP's web-page can be found at http://www.openldap.org/. OpenLDAP has the following basic software requirements:
  • Support for POSIX threads
  • SSL/TLS libraries (such as OpenSSL? from http://www.openssl.org/)
  • A database manager library that supports DBM type storage facilities
  • Release 2.1 of the SASL libraries

Chapter 3 of the book spends a great deal of time explaining and illustration the procedures to compile and install these components and OpenLDAP from source. There are some advantages to doing this,

  • You can customize how these components are built
  • You can customize where these components are installed to
  • You can optimize for specific hardware
  • You can patch in unofficial features and functionality

However, for the majority of situations you will likely just use the prebuilt binary packages provided by your UNIX distribution of choice. The advantages to prebuilt packages are,

  • You get packages that fit well with the other components of your system
  • You get packages that install their configuration files, man pages and binaries alongside the others on your system
  • It's generally quicker to install prebuilt binaries as opposed to compiling and building from source

Naturally, you will want to assess each situation individually and decide the best route for yourself, but if you do decide to go with binary packages, then this is where you can find them for a variety of UNIXes:

  • Red Hat : The latest versions of Red Hat Linux actually include OpenLDAP in their core distribution. You should be able to find them in Red Hat's package selection dialogs.

  • SuSE : OpenLDAP is also included in the latest SuSE and UnitedLinux-based distributions. Again, consult your local systems package selection dialogs.

  • Solaris : You may be better advised to just compile these from source, but there is some buggy TLS support in Solaris which presents a number of hard-to-predict pitfalls. You can find some Solaris binaries for OpenLDAP [here], but you might want to search Google if you are using Solaris 9. [Here] is a page describing some of the pitfalls involved in building it from souce on Solaris.

  • Debian : Debian has pre-built OpenLDAP and required software packages included in their main distribution. You can find the slapd package [here].

  • Gentoo : OpenLDAP is included inside of Gentoo's package repository. Find more information about it [here].

  • FreeBSD : OpenLDAP is included in the FreeBSD ports collection. Use pkg_add or Make inside the appropriate directory.

  • AIX : IBM has OpenLDAP packages available for AIX as a part of their AIX Toolbox collection.


Classnotes | LDAP01 | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited September 21, 2003 9:25 pm (diff)
Search:
(C) Copyright 2003 Samuel Hart
Creative Commons License
This work is licensed under a Creative Commons License.