The configuration described in this document will assume you compiled and installed OpenLDAP 2.2.30 manually like shown above.
If you specified a different --prefix option, or if you used the packages of your distribution, in all the following examples always remember that:
is the directory where all configurations are kept. In this directory, you can find the configuration files (slapd.conf, ldap.conf, ...), the schema files (directory schema/) and a couple other interesting files. On most linux distributions, if you used the provided packages, it corresponds to /etc/ldap/.
is the directory where the slapd and slurpd daemons have been installed. Usually, it corresponds to /usr/sbin.
is the directory where all command line tools to access a LDAP directory have been installed (ldapadd, ldapsearch, ...). Usually, it corresponds to /usr/bin.
is the directory where all the administrative tools have been installed (slapcat, slapadd, ...). Usually, it corresponds to /usr/sbin.
is the directory where your database files are kept. On most linux distributions, it corresponds to /var/lib/ldap/, but you can guess it by looking to your slapd.conf configuration file and to the "directory" parameter.