When the LDAP service is started it stops immediately with an error. The Windows event log may present one of the following errors under the "System" event log:
This occurs if the server already has a service using the LDAP default port (port 389). The MailEnable LDAP service is unable to bind to the port, so exits.
The LDAP "slapd.conf" contains invalid paths in the top "include" lines to a drive that is either write protected or is no longer online.
Error 1 Resolution:
To resolve you can either stop the other application that is using the port, or you can configure the LDAP service to bind to another port. In order to change the port number for the LDAP service you will need to add the following registry key, changing the number the port you wish to listen on:
For 32bit Windows:
[HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Services\LDAP\Parameters]
For 64bit Windows:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mail Enable\Mail Enable\Services\LDAP\Parameters]
You will need to stop and start the LDAP service to have changes be effective.
Error 2 Resolution:
|Class:||TRB: Troubleshooting (Configuration or Environment)|
|Revised:||Thursday, November 24, 2016|