|
LDAP Server Setup
The LDAP server may be used to store mail account information in an LDAP database, and for general LDAP services.
The LDAP server configuration file stores the names and configuration for each LDAP data set. At least one data set must be defined before the LDAP server can be started.
Adding an LDAP Server Account Database
To add an LDAP server account database:
- Select the 'LDAP Server' tab.
- Under 'Database Settings Name ('suffix')', click 'New'
- Enter the base name ('suffix') of the database (e.g. dc=domain,dc=com)
- Enter the database directory. The 'openldap-data' directory should be used and may be specified with a relative pathname (e.g. ../openldap-data).
- Enter an optional database index (e.g. cn) and check the box representing the type(s) of index
- Enter the name of the 'root' user (e.g. cn=Manager,dc=domain,dc=com)
- Enter the password for the 'root' user and check the 'Encrypt password' box if you wish the password to be stored in encrypted format.
- Click 'OK'.
Editing an LDAP Server Account Database
To edit an LDAP server account database:
- Select the 'LDAP Server' tab.
- Under 'Database Settings Name ('suffix')', click 'Edit'.
- Modify the settings as desired
- Click 'OK'.
Removing an LDAP Server Account Database
To remove an LDAP server account database:
- Select the 'LDAP Server' tab.
- In the 'Database Settings Name ('suffix')' box, select the database.
- Press 'Remove'.
LDAP Server Debugging
If the LDAP server fails to start, it is normally due to a missing or improperly configured database.
To get additional information, it is necessary to start the LDAP server from a DOS command window with debugging enabled.
To start the LDAP server with debugging enabled.
- Open a DOS command window
- Change directory ('cd') to the ISMail\openldap\bin directory under the directory where ISMail was installed.
- Enter 'slapd.exe -f slapd.conf -d 4095'.
- The LDAP server will start and debugging information will be displayed in the command window.
- Enter Control-C to stop the LDAP server.
|