The following steps should be done in order to let the LDAP module access the AD server when Windows Firewall is switched on.

  1. Open the Windows Firewall.
  2. If it is turned off, activate it. Note: Exceptions should be allowed.
  3. Switch to the Exceptions tab.
  4. Click the Add Port button.
  5. Specify name of the exception (e.g. LDAP), port number (389) and protocol to be used (TCP).
  6. Click OK.
  7. The newly created exception must be activated by default.

After this, the LDAP module can access the AD server and query the directory for users and roles.

Related reading