Set up synchronization with Active Directory

Follow these instructions to set up synchronization with Active Directory.

Before you can set up synchronization, you need .NET Framework 4 on the computer where you will run the Sophos Central AD Sync Utility.

To set up synchronization with Active Directory:

  1. In Settings, on the Active Directory Sync page, click the link to download the Sophos Central AD Synchronization Utility installer, and then run it.
  2. In the setup wizard, enter the information required.

    Follow the instructions in the Sophos Central AD Sync Utility Setup Wizard.

  3. On the last page of the setup wizard, select Launch Sophos Central AD Sync Utility and click Finish.

    Alternatively, go to the Windows Start menu > All Programs > Sophos > Central > AD Sync. If you are running Windows 8 or later, in the Apps list, find the app AD Sync listed under Sophos.

    The Sophos Central AD Sync Utility Setup Wizard starts.
  4. On the Sophos Credentials page, enter your Sophos Central account credentials.
  5. On the AD Configuration page, specify your Active Directory LDAP server and credentials for a user account that has read access to the entire Active Directory forest with which you want to synchronize. To stay secure, use an account with the least rights that will give this access.

    We recommend that you use a secure LDAP connection, encrypted via SSL, and leave the Use LDAP over an SSL connection (recommended) checkbox selected. If, however, your LDAP environment doesn’t support SSL, clear the Use LDAP over an SSL connection checkbox and change the port number accordingly. Usually, the port number is 636 for SSL connections and 389 for insecure connections.

  6. If you don’t want to synchronize the entire forest, on the AD Filters page, you can specify which domains to include in the synchronization. You can also specify additional search options (search bases and LDAP query filters) for each domain. Distinct options can be specified for users and user groups.
    Note AD Sync will only create groups that have members which include discovered users or devices, regardless of group filter settings.

    Search bases

    You can specify search bases (also called “base distinguished names”). For example, if you want to filter by Organizational Units (OUs), you can specify a search base in this format:


    LDAP query filters

    To filter users, for example, by group membership, you can define a user query filter in this format:

    memberOf=CN=testGroup, DC=myCompany, DC=com

    The above query limits user discovery to users belonging to “testGroup”. Note that if you don't specify a group query filter, AD Sync will discover all groups to which these discovered users belong. If you wish group discovery to also be limited to “testGroup”, you could define the following group query filter:


    Note If you include base distinguished names in your search options or change your filter settings, some of the existing Sophos Central users and groups created during previous synchronizations may fall outside the search scope and may be deleted from Sophos Central.
  7. On the Sync Schedule page, define the times at which the synchronization will be performed automatically.
    Note A scheduled synchronization is performed by a background service. The AD Sync utility does not need to be running for the scheduled synchronizations to occur.

    If you want to synchronize manually by running the AD Sync utility and don't want the synchronization to run automatically on a regular basis, select Never. Only sync when manually initiated.

  8. To synchronize immediately, click Preview and Sync. Review the changes that will be made during the synchronization. If you are happy with the changes, click Approve Changes and Continue.

    The Active Directory users and groups are imported from the Active Directory to Sophos Central.

    To stop the synchronization in progress, click Stop.