Add outgoing firewall rule to your LDAP server IP address on the configured port (usually port 389 is used by default). Use Mandatory firewall rules for MailSecure servers documentation as a reference.
Open terminal SSH session to your Mailsecure server, login and test the connection to LDAP server.
Execute command:
telnet ldap.server 389
where ldap.server is and IP or FQDN of your LDAP server and 389 is your LDAP server port (it could be different)
If you got a response like this
telnet ldap.server 389
Trying 1.2.3.4...
Connected to ldap.server.then everything is fine and you could continue with LDAP connector setup.
If you got a response like this
telnet ldap.server 389
Trying 1.2.3.4...
telnet: Unable to connect to remote host: Connection refusedthen something is wrong with your firewall rules or LDAP server is offline. Please fix this issue and continue with LDAP connector setup
Open Mailsecure UI and login.
Go to Settings -> Connectors and click on Add Connector button
Enter the details of your LDAP connector:
LDAP Server IP address
LDAP Port
Password
LDAP Bind DN
Context
LDAP Server Type
You can choose the interval of automatic LDAP synchronizations
If you need TLS connection to your LDAP server please enable Require LDAP over TLS (SSL) option and enter your LDAP Certificate Authority Key
When LDAP connector configuration is finished, click on the
...
button inthe Action column of your LDAP connecor and start syncronization with Sync actionIf syncronization is fauling you will got a pop-up messages. Please double-check all your connector settings and try synchronization again.
Written by Andrei Sviryd
Updated over 3 months ago