Lightweight Directory Access Protocol (LDAP) is used for storing and managing distributed information services in a network. LDAP is mainly used to provide single sign-on solutions. It follows the same X.500 directory structure as Microsoft Active Directory.
In this article:
Before you Begin
To use services such FTP, URL Filter, VPN, or Firewall Authentication and Guest Access, you may need to gather group information. The distinguished name (DN) containing the group information is needed for external authentication using LDAP. With an arbitrary LDAP browser, you can gather DNs for the LDAP authentication scheme. Open the LDAP browser and connect to your domain controller to retrieve the distinguished name.
Configure LDAP Authentication
To configure LDAP for external authentication with the Barracuda NextGen Firewall F-Series, complete the following steps:
- Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Authentication Service.
- In the left navigation pane, select LDAP Authentication.
- Click Lock.
- Enable LDAP as external directory service.
- In the Basic table, add a new entry for each Base DN. You can configure the following settings:
- LDAP Base DN – Distinguished name for the user organizational unit.
- LDAP Server / Port – IP address and port of the LDAP server (default: port
- LDAP User / Password Field – Name of the user identification and password attribute in the LDAP directory.
- Anonymous – If authentication is not required, set to Yes.
- LDAP Admin DN / Password – Name and password of the administrator who is authorized to perform LDAP queries.
Group Attribute – Name of the attribute field on the LDAP server that contains group information. The attribute fields on the LDAP server are customizable. If you are unsure about the required field name, ask the LDAP server administrator to provide the correct information.
Cache LDAP Groups – Enabling caching for selected LDAP group objects to reduce network traffic and server load on the LDAP server.
- Offline sync (every min./hour) – Select how often the local LDAP group cache is refreshed.
- Additional Mail Fields – Allows definition of comma-separated additional fields to 'mail'.
- Use SSL – If the authenticator must use SSL for connections to the authentication server, select this checkbox.
- Logon to Authenticate – Select this checkbox if the authenticator must log directly into the LDAP server to verify user authentication data. When selected, the LDAP server does not expose user passwords. Instead, the server hides user passwords, even from administrators.
- 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 Send Changes and Activate.
LDAP 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. By default, this rule is disabled.