Content Gateway Help
|
|
|
|
|
Security > Proxy user authentication > Multiple realm authentication > Troubleshooting Multiple Realm Authentication
|
![]()
Users are not challenged when a challenge is expected
![]()
Users are challenged when no challenge is expected
![]()
1. The rules in filter.config are checked and applied. This action occurs as a first step in every type of Content Gateway user authentication. If a filtering rule is matched, the rule is applied and user authentication processing stops. See Filtering Rules.
2. If no filtering rule matches, realm rule matching is performed. The requestor's IP address is checked, top-down, against the rule set. If the IP address matches a rule, the source port is checked, if the rule defines one. The first rule match is applied. If no rule matches, authentication is not attempted.
3. If a rule is matched, the specified authentication protocol is applied against the specified domain. All rule configuration details are applied.To see how the logic is applied in a running environment, you can temporarily enable user authentication debug output. Among other details, the debug output shows the parsing of rules and matching. See Enabling and disabling user authentication debug output.When multiple realm authentication doesn't produce the expected results, it is recommended that you troubleshoot the problem in the following order:Confirm that there is no unexpected IP address NAT. Network address translation has the result that the original source IP address is changed to another address before user authentication is performed. In Content Gateway Manager, go to Configure > Networking > ARM > General and examine the rules in ipnat.config.Confirm that there is no unexpected matching of a filter.config rule. Among other purposes, filter.config rules can be used to bypass user authentication. See Filtering Rules.Using the IP address of a user who is or is not being challenged as expected, walk through each realm rule, top to bottom, examining the settings to find the first match. Be meticulous in your analysis. A common problem is that the IP address falls within a too-broad IP address range.If the rule uses an alias, confirm that the alias is present in the User Service of the primary domain controller.For explicit clients configured to send traffic to a specific port, check both the rule and the configuration of the client's browser.If you are getting the match you expect, verify that the domain is reachable and that the user is a member of the domain. If yes, troubleshoot the problem at the authentication protocol level. For IWA, see Troubleshooting Integrated Windows Authentication.If Content Gateway is a member of a proxy chain, verify that X-Forwarded-For headers are sent by the downstream proxy and read by Content Gateway.
![]()
Use a packet sniffer to inspect inbound packets from the downstream proxy. Look for properly formed X-Forwarded-For headers.
![]()
In Content Gateway Manager, go to Configure > My Proxy > Basic, scroll to the bottom of the page and verify that Read authentication from child proxy is enabled. If it's not, select On, click Apply, and then restart Content Gateway.
Debug output should not be left enabled. Debug output slows proxy performance and can fill the file system with log output.Debug log information is written to: /opt/WCG/logs/content_gateway.outCONFIG proxy.config.diags.debug.tags STRING
auth_* | winauth.* | ldap.* | ntlm.*Follow the flow of debug information with the tail -f command:Use Ctrl+C to terminate the command.When you have collected the debug output you want (after one or several user authentication processes is complete), disable debug output by editing records.config and modifying the parameter value as shown.
|
|
|
|
|
Security > Proxy user authentication > Multiple realm authentication > Troubleshooting Multiple Realm Authentication
|