Configure an Authentication Profile and Sequence
An authentication profile defines the authentication service that validates the login credentials of administrators who access the firewall web interface and end users who access applications through Captive Portal or GlobalProtect. The service can be Local Authentication that the firewall provides or External Authentication Services. The authentication profile also defines options such as Kerberos single sign-on (SSO).
Some networks have multiple databases (such as TACACS+ and LDAP) for different users and user groups. To authenticate users in such cases, configure an
authentication sequence—a ranked order of authentication profiles that the firewall matches a user against during login. The firewall checks against each profile in sequence until one successfully authenticates the user. A user is denied access only if authentication fails for all the profiles in the sequence. The sequence can specify authentication profiles that are based on any authentication service that the firewall supports excepts Multi-Factor Authentication (MFA) and SAML.
- (External service only) Enable the firewall to connect to an external server for authenticating users:
- Set up the external server. Refer to your server documentation for instructions.
- Configure a server profile for the type of authentication service you use.If the firewall integrates with an MFA service through RADIUS, you must add a RADIUS server profile. In this case, the MFA service provides all the authentication factors. If the firewall integrates with an MFA service through a vendor API, you can still use a RADIUS server profile for the first factor but MFA server profiles are required for additional factors.
- (Local database authentication only) Configure a user database that is local to the firewall.
- (Kerberos SSO only) Create a Kerberos keytab for the firewall if Kerberos single sign-on (SSO) is the primary authentication service.
- Configure an authentication profile.Define one or both of the following:
- Kerberos SSO—The firewall first tries SSO authentication. If that fails, it falls back to the specified authenticationType.
- External authentication or local database authentication—The firewall prompts the user to enter login credentials, and uses an external service or local database to authenticate the user.
- SelectandDeviceAuthentication ProfileAddthe authentication profile.
- Enter aNameto identify the authentication profile.
- Select theTypeof authentication service.If you use Multi-Factor Authentication, the selected type applies only to the first authentication factor. You select services for additional MFA factors in theFactorstab.If you selectRADIUS,TACACS+,LDAP, orKerberos, select theServer Profile.If you selectLDAP, select theServer Profileand define theLogin Attribute. For Active Directory, entersAMAccountNameas the value.If you selectSAML, select theIdP Server Profile.
- If you want to enable Kerberos SSO, enter theKerberos Realm(usually the DNS domain of the users, except that the realm is UPPERCASE) andImporttheKerberos Keytabthat you created for the firewall or Panorama.
- (MFA only) SelectFactors,Enable Additional Authentication Factors, andAddthe MFA server profiles you configured.The firewall will invoke each MFA service in the listed order, from top to bottom.
- SelectAdvancedandAddthe users and groups that can authenticate with this profile.You can select users and groups from the local database or, if you configured the firewall to Map Users to Groups, from an LDAP-based directory service such as Active Directory. By default, the list is empty, meaning no users can authenticate.
- (Optional) To modify the user information before the firewall sends the authentication request to the server, configure aUsername Modifier.
- %USERDOMAIN%\%USERINPUT%—If the source does not include the domain (for example, it uses the sAMAccountName), the firewall adds theUser Domainyou specify before the username. If the source includes the domain, the firewall replaces that domain with theUser Domain. If theUser Domainis empty, the firewall removes the domain from the user information that the firewall receives from source before the firewall sends the request to the authentication server.Because LDAP servers do not support backslashes in the sAMAccountName, do not use this option to authenticate with an LDAP server.
- %USERINPUT%—(Default) The firewall sends the user information to the authentication server in the format it receives from the source.
- %USERINPUT%@%USERDOMAIN%—If the source does not include the domain, the firewall adds theUser Domainvalue after the username. If the source includes domain, the firewall replaces that domain with theUser Domainvalue. If theUser Domainis empty, the firewall removes the domain from the user information that the firewall receives from the source before the firewall sends the request to the authentication server.
- None—If you manually enterNone:
- For LDAP and Kerberos server profiles, the firewall uses the domain it receives from the source to select the appropriate authentication profile, then removes the domain when it sends the authentication request to the server. This allows you to include theUser Domainduring the authentication sequence but remove the domain before the firewall sends the authentication request to the server. For example, if you are using an LDAP server profile and the samAccountName as the attribute, use this option so that the firewall does not send the domain to the authentication server that expects only a username and not a domain.
- For RADIUS server profiles:
- If the source sends the user information indomain\usernameformat, the firewall sends the user information to the server in the same format.
- If the source sends the user information inusername@domainformat, the firewall normalizes the user information to thedomain\usernameformat before sending it to the server.
- If the source sends only the username, the firewall adds theUser Domainyou specify before sending the information to the server indomain\usernameformat.
- For local databases, TACACS+, and SAML, the firewall sends the user information to the authentication server in the format it receives from the source.
- ClickOKto save the authentication profile.
- Configure an authentication sequence.Required if you want the firewall to try multiple authentication profiles to authenticate users. The firewall evaluates the profiles in top-to-bottom order until one profile successfully authenticates the user.
- SelectandDeviceAuthentication SequenceAddthe authentication sequence.
- Enter aNameto identify the authentication sequence.To expedite the authentication process,Use domain to determine authentication profile: the firewall matches the domain name that a user enters during login with theUser DomainorKerberos Realmof an authentication profile in the sequence, and then uses that profile to authenticate the user. If the firewall does not find a match, or if you disable the option, the firewall tries the profiles in the top-to-bottom sequence.
- Addeach authentication profile. To change the evaluation order of the profiles, select a profile andMove UporMove Down.
- ClickOKto save the authentication sequence.
- Assign the authentication profile or sequence to an administrative account for firewall administrators or to Authentication policy for end users.
- Administrators—Assign the authentication profile based on how you manager administrator authorization:Authorization managed locally on the firewall—Configure a Firewall Administrator Account.Authorization managed on a SAML, TACACS+, or RADIUS server—Select, edit the Authentication Settings, and select theDeviceSetupManagementAuthentication Profile.
- End users—For the full procedure to configure authentication for end users, see Configure Authentication Policy.
- Verify that the firewall can Test Authentication Server Connectivity to authenticate users.