Configure Active Directory authentication
You can add existing Active Directory users to Sophos Firewall. Add an Active Directory server, import groups, and set the primary authentication method.
To configure Active Directory authentication, do as follows:
- Add and configure an Active Directory server on the firewall.
- Import AD groups using the Import group assistant.
- Set the primary authentication method so that the firewall first queries the Active Directory server.
This overview explains how Sophos Firewall uses Active Directory to authenticate users and manage access control.
When an Active Directory user signs in to Sophos Firewall for the first time, they're automatically added to the default group. If the user's Active Directory group exists in Sophos Firewall, they're added to that group.
When a user signs in to Sophos Firewall, it authenticates the user by verifying them against the list of users created during the integration with Active Directory. When the user is authenticated, Sophos Firewall communicates with Active Directory to get additional authorization data for access control.
If your Active Directory server is down, the authentication request returns a
Wrong username/password message.
When you've configured multiple Active Directory servers, Sophos Firewall performs validation against your Active Directory servers in the order configured in the web admin console.
Add an Active Directory server
First, you add an Active Directory server that includes a search query.
You must have the following information to complete this task:
- Domain name
- NetBIOS domain
- Active Directory server password
Check the properties of the Active Directory server. For example, on Microsoft Windows, go to Windows Administrative Tools.
Search queries are based on the domain name (DN). In this example, the domain name is
sophos.com, so the search query is
- Go to Authentication > Servers and click Add.
Specify the settings.
For settings not listed here, use the default value.
Use the password configured on the Active Directory server.
Option Description Server type Active directory Server name My_AD_Server Server IP/domain 192.168.1.100 NetBIOS domain sophos ADS username administrator Password <AD server password> Domain name sophos.com Search queries dc=sophos,dc=com
Click Test connection to validate the user credentials and check the connection to the server.
When both synchronized user ID and STAS are configured, the authentication server uses the mechanism from which it receives the sign-in request first.
Import Active Directory groups
Import Active Directory groups into the firewall and specify policies for them.
Go to Authentication > Servers and click Import .
In the Import group assistant, click Start.
Select the base DN for groups.
Select the AD groups to import.
Select common policies for groups.
- View results.
- Go to Authentication > Groups and verify the recently imported groups.
Set primary authentication method
To query the Active Directory server first, set it as the primary authentication method. When users sign in to the firewall for the first time, they're automatically added as a member of the default group specified.
- Go to Authentication > Services.
- In the authentication server list under Firewall authentication methods, select My_AD_Server.
Move the server to the first position in the list of selected servers.
Go to Authentication > Groups and verify the imported groups.