Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda Content Shield
Results will update as you type.
  • Release Notes
  • Converting Your Trial Subscription to a Valid License
  • Getting Started With DNS Filtering
  • Barracuda Content Shield 30 Day Evaluation Guide
  • Overview Page Summary
  • Incident Response and DNS Filtering With Barracuda Content Shield
  • Accounts Page Summary
  • Dashboard for Barracuda Content Shield DNS Filtering
  • Dashboard for Barracuda Content Shield Plus
  • Deployment with Virtual Desktop Infrastructure
  • How to Configure Barracuda DNS Nameservers for Barracuda Content Shield
  • Managing Users and Authentication
    • LDAP Active Directory and Barracuda Content Shield
    • How to Configure Google Directory Services with Barracuda Content Shield
    • How to Configure Your Firewall to Allow LDAP Settings
    • Microsoft Entra ID Support for Single Sign-On
    • Manually Configure Local Users
    • How to Get and Configure Barracuda Chromebook Security for BCS
    • How to Get and Configure the Barracuda Active Directory Sync Tool
  • SSL Exemptions Required for Use With Barracuda Content Shield Suite
  • Reports
  • Alerts
  • Logs
  • Account Settings
  • Block Pages and SSL Inspection
  • Support Tools for Barracuda Content Shield
  • Web Use Categories
  • Support Access for Barracuda Content Shield
  • How to Clear the HSTS Cache or Disable HSTS for Firefox
  • How to Set the Time Zone
  • Firewall Exemption Rules for BCS

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Get and Configure the Barracuda Active Directory Sync Tool
    Published Oct 24, 2025

    How to Get and Configure the Barracuda Active Directory Sync Tool

    Oct 24, 2025
    Subscribe

    The Barracuda Active Directory Sync Tool can be installed either on an AD server or  on a device that has direct access to the AD server.  The tool periodically checks the domain controller for changed user and group information as well as group memberships.

    • The tool supports nested groups within a single domain.

    • The tool does not support cyclical groups, such as 'Group A is a member of group B, and group B is a member of group A. '

    • Only one instance of the tool should be run a single customer environment.

    System Requirements

    Before configuring the Barracuda Active Directory Sync Tool, make sure that your system meets the following requirements:

    • Local Installation – Microsoft Windows Server 2008, 2008 R2, 2012, 2012 R2 or 2016. Windows Server Core is not supported for local installation and monitoring. The Active Directory Sync Tool can, however, communicate with a domain controller that is running Windows Server Core. In this case, you could install the Active Directory Sync Tool on a server running Microsoft Windows Server 2008, 2008 R2, 2012, 2012 R2, or 2016 and configure it to remotely monitor a domain controller that is running on a Windows Server Core machine.

    • Remote Installation – Microsoft Windows 2008 and higher. Also note that, for the remote installation of Active Directory Sync Tool, you MUST be a domain member to query the server. 

    How the Tool Works

    The  Active Directory Sync Tool discovers groups and users on a customer Active Directory (AD) server by starting queries from Base Distinguished Names (Base DN). With version 1.1 and above, the Base DN controls where the agent starts querying for users. All queries start at the base and retrieve all of the users or groups below that base name recursively.

    Best Practices:

    • Use the base root OU (organizational unit) if possible.

    • Specify the users and group Base DN to limit the number of groups and users to sync – this limits the (number of) requests

    • Barracuda STRONGLY recommends configuring the tool to run with a single profile, with the Search Root of the domain as the value for both the User Base DN and Group Base DN. The tool tries not to configure groups that have no users.

    • BCS supports up to a maximum of 100 groups per user.

    image2020-9-29_9-34-13_.png

    The configuration application sets the two base DN values to to the "Search Root" of the domain that authenticated the user running the configuration application.

    There are separate values for the group and user Base DN's because some AD's have accumulated multiple organization units (OU), or high level groups,  over time due to merger activity or AD upgrades. The obsolete users are isolated to a different Base DN than the currently active users. In the alternative, the current users are in a Base DN below the Search Root. Searching for users below the Base DN does work, but many of the important AD group objects are located under the Search Root. These groups include all of the Builtin groups, Administrators, Domain Administrators, Users, Guests, and Domain Users. Therefore, the tool needs a Group Base DN value.

    Synchronization Time Frames

    Full synchronization refers to the time frame for retrieving objects from Active Directory (AD). Full synchronization means that all configured AD objects will be queried since the beginning of time. Otherwise, the Active Directory Sync Tool queries for AD objects since the most recent update. See below for this option.

    The Active Directory Sync Tool queries every three hours.

    Forcing Complete Synchronization

    When setting up Active Directory Sync Tool the first time, some trial and error may be required. When adjusting the settings in the Active Directory Sync Tool relative to Active Directory (server, Base DN, etc.), it is important to establish a new baseline on the computer and, possibly, on the BCS Portal.  

    The Active Directory Sync Tool user interface has an option to re-send all data from AD to the BCS Portal. This option is on the profile screen (where the server name is set) and is turned off after a synchronization cycle. After adjusting an AD setting, Barracuda Networks recommends checking the Full synchronization on Next Run box before the next run. If you do not want to wait for three hours, the Active Directory Sync Tool can be manually restarted from the service controller. The setting for Full Synchronization is on the main screen of the configuration tool:

    Force Sync Setting01.png

    Get and Install the Barracuda Active Directory Sync Tool for BCS

    1. Log in to your BCS account.

    2. Go to the USERS page and click on Directory Sync Tool.

    3. Follow instructions on the page to download and install the tool and the configuration (key) file (bcs.key) on your computer.

    4. Run the Active Directory Sync Tool on your Windows machine.

    Configuration with Multiple Base DN's

    It is possible to configure multiple Base DN (even servers) within a single agent:

    ConfigMultiDNs01.png

    Use this technique to carefully pick which portions of the AD hierarchy will be synced. Barracuda Networks strongly recommends configuring as many User Base DN's as needed, and to always use the Search Root as the Group Base DN.

    image2020-9-29_12-41-27_.png

    Base Distinguished Name from Powershell

    The Base Distinguished Name on the configuration screen is the starting point for all LDAP queries made by the Barracuda Active Directory Sync Tool. In general, it should be set to the search root of the domain. Use the following commands in PowerShell to find the search root. The search root can be found using the following procedure:

    1. Log in to a domain-connected computer as a domain administrator (this might work as a domain user, but I did not test).

    2. Start a Powershell command prompt.

    3. Enter $adsisearcher = New-Object system.directoryservices.directorysearcher to create an Active Directory searcher object

    4. Enter $adsisearcher to verify that the object was created successfully

    5. Enter $adsisearcher.SearchRoot to see the distinguished name

    How to Uninstall the Barracuda Active Directory Sync Tool

    Use the Add/Remove Programs or Programs and Features tool in the Windows Control Panel to uninstall the Barracuda Active Directory Sync Tool for BCS.

     


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 31, "requestCorrelationId": "c56a4753020b4be99d12baab47404840"}