LDAP wouldn't start for me when attempting to complete the installation configuration.

Code:
Initializing ldap...sudo: sorry, you must have a tty to run sudo
ERROR - failed to start slapd

FAILED (1)
The workaround I used is to comment out the following line in /etc/sudoers

Defaults requiretty

so that it looks like this:

#Defaults requiretty