Configure NetScaler Gateway preauthentication EPA scan for the domain check
You can configure NetScaler Gateway preauthentication EPA scan to check if the user device is domains based or not.
- Navigate to NetScaler Gateway > Policies > Preauthentication.
-
Click the Preauthentication Profiles, tab and then click Add.
- Enter a name for the new profile, and click Create.
- Switch to the Preauthentication Policies tab and click Add.
- Enter a name for the policy.
- In Request Action, choose the previously created domain scan profile.
- In Expression, click OPSWAT EPA Editor.
-
In Expression Editor, select Windows to scan Windows based systems, and then choose Domain Check.
- Click + and enter the domain suffix and comment, if any. In this example, ‘example.com’ is used as the domain suffix.
-
Click OK, and then click Create.
- Bind the policy to the virtual server to enable the policy.
- Navigate to NetScaler Gateway > Virtual Servers.
- Select the virtual server, and then click Edit.
- In the Policies section, click the + sign.
- In Choose Policy, select Preauthentication, and then click Continue.
- In Select Policy, select the policy created for domain scan, and then click Bind.
- Click Done. The Policies pane displays the other policies and the new preauthentication policy bound to the virtual server.
After the scan is enabled, test it with a suitable client that has domain membership matching the setting in the policy. Repeat the scan with a non-confirming client to verify the functionality of the new policy.
Configuration by using the NetScaler CLI
To enable preauthentication policy for domain check, at the command prompt, type:
add aaa preauthenticationpolicy <policy name> "CLIENT.SYSTEM(DOMAIN_SUFFIX_anyof_<domain>[COMMENT: Domain check]) EXISTS" <Action Name>
<!--NeedCopy-->
The following is the preauthentication policy for domain check:
EPA Domain Check CLIENT.SYSTEM('DOMAIN_SUFFIX_anyof_<domain>[COMMENT: Domain check]') EXISTS
<!--NeedCopy-->