Skip to main content
All CollectionsMailSecureUser Guides
Create and check LDAP connector
Create and check LDAP connector
A
Written by Andrei Sviryd
Updated over a week ago
  1. 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.

  2. 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 refused

    then something is wrong with your firewall rules or LDAP server is offline. Please fix this issue and continue with LDAP connector setup

  3. Open Mailsecure UI and login.

  4. Go to Settings -> Connectors and click on Add Connector button

  5. Enter the details of your LDAP connector:

    LDAP Server IP address

    LDAP Port

    Password

    LDAP Bind DN

    Context

    LDAP Server Type

  6. You can choose the interval of automatic LDAP synchronizations

  7. If you need TLS connection to your LDAP server please enable Require LDAP over TLS (SSL) option and enter your LDAP Certificate Authority Key

  8. When LDAP connector configuration is finished, click on the ... button inthe Action column of your LDAP connecor and start syncronization with Sync action

  9. If syncronization is fauling you will got a pop-up messages. Please double-check all your connector settings and try synchronization again.

Did this answer your question?