We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Web Security Service

Barracuda Networks Directory Sync

  • Last updated on

Use the Barracuda Networks Directory Sync tool to send the AD Groups on your local network to your Barracuda Web Security Service. Install it on a Windows machine that has network connectivity to the AD systems. You can do a one time SSL encrypted transfer of one or many AD domains. Subsequent uses of the tool overwrite previous ones. Usernames should be unique across domains.

Download and Install the Directory Sync .exe

To use the tool, first go to the Barracuda Web Security Service Manager SUPPORT tab and download the Directory Sync Installer (exe).


Now install and launch the Directory Sync tool:

  1. Run the installer.


  2. Click Next.


  3. Accept the license agreement, and then click Next.


  4. Click Install, and wait while InstallShield installs the files.


  5. Click Finish.
  6. To launch the tool, click Start > All Programs > Barracuda > Directory Sync > Directory Sync.


Configure the Authentication Key and URL

When you run the Directory Sync, the Settings window will appear automatically with new installations. You can also open settings under “File > Settings”.
  1. Log into the Barracuda Web Security Service admin portal (web interface)
  2. Go to  CONFIGURATION > Key Management. Click an existing key or Add New Key.


  3. Copy the key.


  4. Paste the key into the Auth Key section of the Directory Sync Settings window.


  5. Use the default setting for Sync URL (do not modify). Click OK.

Add a Directory Sync Profile

If you create multiple profiles for multiple domains, they will be combined and uploaded as if they are a single domain. To add a directory profile:

  1. Click New.


  2. To add information about the profile, complete the following fields:
    Domain/Host—Name of the domain and host you want to import data from.
    Description—Intuitive description of the domain.
    User Name—Name of a user with sufficient privileges to query the LDAP server.
    Password—Password for the User Name account.
    Base DN—Domain name of the node closest to the root that includes the data you want to import. You can specify multiple base DNs, separating them with the | character.
    Filter—string that specifies how to examine each entry.


  3. Click Test if you want to test the connection before you send the data to the Barracuda Web Security Service.
    A successful configuration will query the Active Directory and provide a list within the results window. The results will display Username on the left and the full DN of each of the groups the user is in on the right.
  4. Click OK.


Synchronize Data

You can synchronize data manually, or use Windows Task Scheduler to set up automatic synchronization.


  • To send the data to the Barracuda Web Security Service manually, select Sync All
  • To set up automated synchronization for a profile using Windows Task Scheduler, use the following command:
    "C:\Program Files\Barracuda\Directory Sync\Directory Sync.exe” SYNC

You can verify a sync was successful using the Barracuda Web Security Service Manager:

  1. Go to CONFIGURATION > Group Management.
  2. Click on Network Directory Sync to see the Last Successful directory sync and the number of users and groups synchronized.

Last updated on