At this point, we have configured our
slapd.conf file. We are now ready to start our server. There are two different ways to run the SLAPD server: we can either use the init script provided with the distribution, or we can run the
slapd command directly. Each way has its advantages, and we will look at both here.
The OpenLDAP packages that are installed with Ubuntu include a startup script that is located, along with other service startup scripts, in the
/etc/init.d/ directory. The scripts in
/etc/init.d/, usually referred to as the init scripts, are used to automatically start and stop services when the system run level changes (when the system boots, halts, or reboots), and by default, OpenLDAP ...