[squid-users] Re: squid_kerb_auth

From: Markus Moeller <huaraz_at_moeller.plus.com>
Date: Thu, 11 Sep 2008 21:50:07 +0100

The error "Configuration file does not specify default realm" seems to
indicate a configuration error. How does your krb5.conf look like ?

Is the default realm REDECAMARA.CAMARA.GOV.BR ?

Markus

"Luis Conrado Andrade" <luis.conrado_at_live.com> wrote in message
news:BLU138-W180A41ECD31299924ABB31F4560_at_phx.gbl...

Hi,

We´re working on a substitution of an ISA by a SQUID server. The problem is
that we have more than 8.000 users and the authentication is based on a
Microsoft AD, so we intend to use kerberos authentication to have a better
perfomance.

We´re using a CentOS 5 with all patches installed. A squid rpm from Martin
Nagy, squid-3.0.stable7-1.el5.

After the configuration based on Klaubert´s howto,
http://klaubert.wordpress.com/2008/01/09/squid-kerberos-authentication-and-ldap-authorization-in-active-directory/
our user can´t be authenticated. Messages in cache log says:

2008/09/11 16:20:00| squid_kerb_auth: Got 'YR
YIIGBQYGKwYBBQUCoIIF+TCCBfWgJDAiBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKwYBBAGCNwICCqKCBcsEggXHYIIFwwYJKoZIhvcSAQICAQBuggWyMIIFrqADAgEFoQMCAQ6iBwMFACAAAACjggTNYYIEyTCCBMWgAwIBBaEaGxhSRURFQ0FNQVJBLkNBTUFSQS5HT1YuQlKiMTAvoAMCAQKhKDAmGwRIVFRQGx5zcXVpZC5yZWRlY2FtYXJhLmNhbWFyYS5nb3YuYnKjggRtMIIEaaADAgEXoQMCAQWiggRbBIIEV5Qm2NMy0gKKYtuKMx9T12WKM24qutQRoxsSas4vjjo+NnezSCPp6KqjT1MZpLX9YnAshwpqWmWx+jW4ciP9s2Mn9MQkRPbCfmwtQi8/toSCp7X7uXMivLTKgT0ecuaYibQyuIuSopRINZnZ5Cv5r2uG2DFyO97NuzOTfDAcSXPKWvJa6zUwwcMXGA3xDX3ZG35iXTEmXm1FTDZ8pN1xSEDaFWlxTbh8y8GhIy1XJ17hIu68+MXuwYka7Gey/Ll1rv+bC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/cPZAhcmYhGiztrHABssUjkLX8GFJjd25SWiEF5uAgbclb1fP+kEcaP5o+Tb35q41us5bdjp8nnFyyMq8dTxU6ZhxC005XHBXz03OzDbK9NFVxnunR0zTdw9pBpeFbh4OlL7Qa/Y1GUUhZ3VRiPpSqFnzPKkgccwgcSgAwIBF6KBvASBuaYouu2CHeCrcwba+doecIQim1G9hP6lhmHEXsNylD5wv7M0yKz6Rez+wRZ9Tv+yh37B55dyeCrkd8vU+TWou7lyq7ABvVsYY+0wwaLDs94ENrUm1QTGI/bIA+aynl+gnFsqwrNFAN0q3psNb0LqInleHut9/v/Pj66EHxAC20CemdCK8yW9hhlhhF3YLTvT6ZXzk7+o8iavL4ijQQwy1Lk3qdP5rzUDhBaGb8SndD
P3/f/Jv8kmOHQY'
from squid (length: 2063).
2008/09/11 16:20:00| squid_kerb_auth: parseNegTokenInit failed with rc=102
2008/09/11 16:20:00| squid_kerb_auth: gss_acquire_cred() failed: An invalid
name was supplied. Configuration file does not specify default realm
2008/09/11 16:20:00| squid_kerb_auth: User not authenticated

Questions:

1- Does anyone have squid_kerb_auth working with CentOS 5 and Windows 2003
AD serve?

2- Should we use kerberos authentication or NTLM is ok (based on the number
of clients)?

Any help is appreciated.

Best regards,

        Conrado

_________________________________________________________________
Conheça o Windows Live Spaces, a rede de relacionamentos do Messenger!
http://www.amigosdomessenger.com.br/
Received on Thu Sep 11 2008 - 20:53:09 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 12 2008 - 12:00:03 MDT