Another Kerberos error in Cache.log on Squid server

During my configuration of an Squid Proxy Server on Ubuntu in conjunction with Kerberos and Active Directory I encountered another error in the cache.log of the Squid Server:

ERROR: Negotiate Authentication validating user. Result: {result=BH, notes={message: gss_accept_sec_context() failed: An unsupported mechanism was requested. Unknown error; }}

The reason for this error was the loopback address ( for the current host in the hosts file in /etc/hosts. The entry in the hosts file was like this:

I changed the entry to the real IP address of the Ubuntu Server:

After the chang I restarted the Server and the error was gone.

Author Image
Carlos Shepardos

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: