The OpenLDAP package provides an open source implementation of the Lightweight Directory Access Protocol.
Download (HTTP): http://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/openldap-2.1.22.tgz
Download (FTP): ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.1.22.tgz
Download size: 2.0 MB
Estimated Disk space required: 126 MB
Estimated build time: 3.90 SBU
Install OpenLDAP by running the following commands:
./configure --prefix=/usr --libexecdir=/usr/sbin \ --sysconfdir=/etc --localstatedir=/var \ --disable-debug --enable-ldbm && make depend && make && make test && make install |
--sysconfdir=/etc: Sets the configuration file directory to avoid the default of /usr/etc.
--libexecdir=/usr/sbin: Puts the server executables in /usr/sbin instead of /usr/libexec.
--enable-ldbm: Build slapd with primary database back end using either Berkeley DB or GNU Database Manager.
--disable-debug: Disable debugging code.
make test: Validate correct build of the package.
The only configuration needed for OpenLDAP is to run ldconfig. The LDAP server can be started by /usr/sbin/slapd as described in the man page slapd(8).
Data can be added to the LDAP database via ldapadd. There are other programs that can use the database. For more information see the appropriate man page.
The OpenLDAP package contains ldapadd, ldapcompare, ldapdelete, ldapmodify, ldapmodrdn, ldappasswd, ldapsearch, ldapwhoami, slapadd, slapcat, slapd, slapindex, slappasswd, slurpd, liblber and libldap.
ldapcompare opens a connection to an LDAP server, binds and performs a compare using specified parameters.
ldapsearch opens a connection to an LDAP server, binds and performs a search using specified parameters.
slapadd is used to add entries specified in LDAP Directory Interchange Format (LDIF) to a slapd database.