Blue Coat Authentication and Authorization Agent (BCAAA) configured to carry out Windows single sign-on.
SWG stops authenticating users and SGOS EventLog shows:
BCAAA is used by Windows SSO realms to supply mappings for IP addresses to logged on users.
The Windows SSO realm can use Domain Controller Querying or Client Querying or both Domain Controller and Client Querying in order to determine the logged on user. When both Domain controller querying and Client querying are used a valid Domain controller query logon will be used if found and the client will not be queried.
BCAAA Widows server configuration file in "C:\Program Files\Blue Coat Systems\BCAAA" has domain controller querying enabled:
"Domain Controller Querying works by discovering the domains in a forest and then discovering the domain controllers for those domains. Each discovered domain controller is then queried approximately every ten seconds in order to capture the set of users who have authenticated with that domain controller. In a large forest this may mean that BCAAA will query domain controllers that are not of interest for the connected ProxySG devices."
All domain controllers user login and logout events queries are carried out by BCAAA every ten seconds to have an up to date authentication status of the users it is about to authenticate in the SWG (mappings IP addresses to logged on users)
"sso.ini" configuration file "Query all domain controllers" may be left to default "0.0.0.0/0" range of IPs:
Because of the above BCAAA, to keep its local "dcq_primary_inc.sso" file list of Windows domain logged on users up to date will try, every 10 seconds, to reach out/query all possible domain controllers present in the network; Windows event example:
Example of added user to the mapping file:
Example of user already present in the BCAAA local file:
But if the BCAAA is set to search all the network "0.0.0.0/0". In a large organisation there is the high chance it will try to connect to domain controller servers hosted far away (in the forest) affected by high latency response, example of lookup:
If dozens of such servers are present they will cause BCAAA wait for a response holding in the queue the authentication requests causing long delays and eventually service to fail
After Domain Controller Querying is enabled in "sso.ini":
make sure a small range of IPs (subnet) is set for the domain controllers to be queried, example:
remember to restart BCAAA service at every "sso.ini" change