Microsoft Active Directory (MSAD) is a directory service that allows authentication and authorization of network users. On the Barracuda NextGen Firewall F-Series you can configure MSAD as an external authentication scheme. MSAD is included with all Windows Server operating systems since Windows 2000 Server. For MSAD authentication, you can also configure the Barracuda DC Agent, which allows transparent authentication monitoring with the Barracuda NextGen Firewall F-Series and Microsoft® domain controllers.
Before you begin
If MSAD is running in native mode on a Windows 2003 Server domain, you must deactivate Kerberos pre-authentication for each user.
To use services such FTP, URL Filter, VPN, or Firewall Authentication and Guest Access, you might need to gather group information. The distinguished name (DN) containing the group information is needed for external authentication using MSAD and LDAP (see also How to Configure LDAP Authentication). To gather group information from MSAD:
- Go to My Network Places > Search Active Directory.
- Select the searching domain.
- Enter the name of the user you are searching for and click Find Now.
- After you have found the user, add the X500 Distinguished Name column.
- Select View > Choose columns.
- Select X500 Distinguished Name.
- Click Add.
The DN is displayed in the search results.
Configure MSAD authentication
- Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Authentication Service.
- In the left navigation pane, select MSAD Authentication.
- Click Lock.
- Enable MS Active Directory as external directory service.
- In the Basic table, add an entry for the domain controller.
- Enter the name and IP address or hostname of the primary domain controller, without the domain suffix. Hostnames must be DNS-resolvable.
- In the Active directory searching user / password fields, enter the Distinguished Name (DN) and password of a user with permission to search the Active Directory and to view group information. For example:
In the Base DN field, specify where to search for user information. Define the Base DN as specific as possible in order to increase the speed of the lookup and avoid timeouts.
- When using NTLM authentication, enable Use MSAD-groups with NTLM to periodically synchronize user groups from MSAD and let the Barracuda NextGen Firewall F-Series handle them offline .
When using MSAD-groups with NTLM, enable Cache MSAD-groups to reduce network traffic and load on the MSAD server.
To search additional LDAP attributes for mail addresses, enter a comma separated list of LDAP attributes in the Additional Mail Fields.
- Select Use SSL when establishing the connection to the LDAP directory using SSL.
- Select Follow referrals to search the MSAD global catalog and follow LDAP referrals.
- Click OK.
- If group information is queried from a different authentication scheme, select the scheme from the User Info Helper Scheme list.
In the Group Filter Patterns table, you can add patterns to filter group information from the directory service.
- Group Filter Pattern:
CN=foo, OU=bar, DC=foo-bar, DC=foo
CN=SSL VPN, DC=foo-bar, DC=foo
In this example, User01 does not have the
*SSL*pattern in its group membership string and will not match in group-based limitations.
- Group Filter Pattern:
- Click OK.
- Click Send Changes and Activate.
MSAD authentication through the remote management tunnel
To allow remote F-Series Firewalls to connect to the authentication server through the remote management tunnel, you must activate the outbound BOX-AUTH-MGMT-NAT host firewall rule. Per default this rule is disabled.
MSAD Authentication against Azure AD
MSAD authentication against an Azure AD is possible, when the Azure AD is configured to use secure LDAP. Use the Active Directory Searching User and Base DN as supplied by Microsoft.
For more information, see the Microsoft article Azure AD - Configure Secure LDAP.