LDAP Server
IceWarp Server supports LDAP v3 and is based on the OpenLDAP project. Any additional information can be found on that site. See the license agreement in the LDAP\readme.txt file (downloaded from the project web site - see the link above).
Once installed, you can start the LDAP server and it will be ready and working. It has its suffix already created so you can go on with creating new entries immediately.
LDAP runs under the Control service and works only on Windows NT and higher (2000,XP, 2008, Vista, 7) platforms (as well as on Linux). Older versions are not supported.
LDAP setting files can be found in the <InstallDirectory>\LDAP directory and follows the OpenLDAP project.
To activate LDAP, you have to have IceWarp Server running on Windows NT (and higher) platforms. Click Active and Save. LDAP server will start immediately.
When started you can see it is really running in the System > Services > General tab.
You can also change the LDAP ports. LDAP in IceWarp Server supports SSL so you can connect to the LDAP over a secure connection using the certificates installed on IceWarp Server. Same certificates as for HTTP and other services will be used.
Make always sure to check the LDAP running status. If any errors were created in the settings, the LDAP server will not start.
In case that LDAP fails after restart, you can follow these steps:
-
Install IceWarpclean or rename LDAP folder and reinstall IceWarp(you need to be sure that LDAP is the newest version and there are no config issues).
-
Make sure LDAP is not started yet after the install.
-
Make sure debug logging is enabled for LDAP.
-
Start LDAP and logs show its ok.
-
Stop LDAP
-
Start LDAP
Logs show LDAP is stopped
There is an error in the log: bdb_db_open: database "": unclean shutdown detected attempting recovery
It then shows it failed. LDAP is not usable at this point.
-
Stop LDAP service.
-
Delete contents of LDAP/data folder to create new DBs.
-
Start LDAP and its working.