<HTML xmlns:o><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi Pedro,</DIV>
<DIV> </DIV>
<DIV>How did you create your keytab ? What does klist –ekt
<squid.keytab> show ( I assume you use MIT Kerberos) ? </DIV>
<DIV> </DIV>
<DIV>Markus</DIV>
<DIV> </DIV>
<DIV
style="BORDER-TOP-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 4px solid; BORDER-RIGHT-COLOR: #000000">
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV>"Pedro Lobo" <palobo@gmail.com> wrote in message
news:40E1E0E7-50C6-4117-94AA-50B06573430A@gmail.com...</DIV></DIV></DIV>
<DIV
style="BORDER-TOP-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 4px solid; BORDER-RIGHT-COLOR: #000000">
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV class=markdown>
<P>Hi Squid Gurus,</P>
<P>I'm at my wit's end and in dire need of some squid expertise.</P>
<P>We've got a production environment with a couple of squid 2.7 servers using
NTLM and basic authentication. Recently though, we decided to upgrade and I'm
now setting up squid 3.3 with Kerberos and NTLM Fallback. I've followed just
about every guide I could find and in my testing environment, things were
working great. Now that I've hooked it up to the main domain, things are
awry.</P>
<P>If I use a machine that's not part of the domain, NTLM kicks in and I can
surf the web fine. If I use a Windows XP or Windows Server 2003, kerberos works
just fine, however, if I use a machine Windows 7, 8 or 2008 server, I keep
getting a popup asking me to authenticate and even then, it's and endless loop
until it fails. My cache.log is littered with:</P><PRE><CODE>negotiate_kerberos_auth.cc(200): pid=1607 :2014/10/24 23:03:01| negotiate_kerberos_auth: ERROR: gss_accept_sec_context() failed: Unspecified GSS failure. Minor code may provide more information.
2014/10/24 23:03:01| ERROR: Negotiate Authentication validating user. Error returned 'BH gss_accept_sec_context() failed: Unspecified GSS failure. Minor code may provide more information. '
</CODE></PRE>
<P>The odd thing, is that this has worked before. Help me Obi Wan... You're my
only hope! :)</P>
<P><STRONG>Current Setup</STRONG><BR>Squid 3.3 running on Ubuntu 14.04 server.
It's connected to a 2003 server with function level 2000 (I know, we're trying
to fase out the older servers).</P>
<P><STRONG>krb5.conf</STRONG></P><PRE><CODE> [libdefaults]
default_realm = FAKE.NET
dns_lookup_kdc = yes
dns_lookup_realm = yes
ticket_lifetime = 24h
default_keytab_name = /etc/squid3/PROXY.keytab
; for Windows 2003
default_tgs_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
default_tkt_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
permitted_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
[realms]
FAKE.NET = {
kdc = srv01.fake.net
kdc = srv02.fake.net
kdc = srv03.fake.net
admin_server = srv01.fake.net
default_domain = fake.net
}
[domain_realm]
.fake.net = FAKE.NET
fake.net = FAKE.NET
[logging]
kdc = FILE:/var/log/kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
</CODE></PRE>
<P><STRONG>squid.conf</STRONG></P><PRE><CODE>auth_param negotiate program /usr/lib/squid3/negotiate_kerberos_auth -d -r -s HTTP/proxy01tst.fake.net
auth_param negotiate children 20 startup=0 idle=1
auth_param negotiate keep_alive off
auth_param ntlm program /usr/bin/ntlm_auth --diagnostics --helper-protocol=squid-2.5-ntlmssp --domain=FAKE.NET
auth_param ntlm children 10
auth_param ntlm keep_alive off
</CODE></PRE>
<P>Cheers,<BR>Pedro</P></DIV>
<P>Cumprimentos <BR>Pedro Lobo <BR><B>Solutions Architect | System Engineer</B>
</P>
<P><A href="mailto:pedro.lobo@pt.clara.net">pedro.lobo@pt.clara.net</A>
<BR>Tlm.: +351 939 528 827 | Tel.: +351 214 127 314 </P>
<P>Claranet Portugal <BR>Ed. Parque Expo <BR>Av. D. João II, 1.07-2.1, 4º Piso
<BR>1998-014 Lisboa <BR><A title=http://www.claranet.pt/
href="http://www.claranet.pt/">www.claranet.pt </A></P>
<TABLE style="COLOR: #000000" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="PADDING-BOTTOM: 4px" vAlign=bottom><A
href="http://www.claranet.pt/"><IMG id=Picture_x0020_21 border=0
alt=http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/claranet_logo.png
src="http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/claranet_logo.png"
width=126 height=26> </A></TD>
<TD style="PADDING-BOTTOM: 4px" vAlign=bottom><A
href="http://www.linkedin.com/groups?home=&gid=3746436"><IMG
id=Picture_x0020_22 border=0
alt=http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/email-linkedin-icon.png
src="http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/email-linkedin-icon.png"
width=30 height=17> </A></TD>
<TD style="PADDING-BOTTOM: 4px" vAlign=bottom><A
href="https://twitter.com/Claranet_PT"><IMG id=Picture_x0020_3 border=0
alt=http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/email-twitter-icon.png
src="http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/email-twitter-icon.png"
width=26 height=17> </A></TD>
<TD style="PADDING-BOTTOM: 4px" vAlign=bottom><A
href="http://www.youtube.com/user/ClaranetPT"><IMG id=Picture_x0020_4
border=0
alt=http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/email-youtube-icon.png
src="http://www.claranet.co.uk/sites/claranet.co.uk/files/u3/email-youtube-icon.png"
width=26 height=17> </A></TD></TR></TBODY></TABLE>
<P><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: arial ,sans-serif; COLOR: #1f497d"><A
href="http://www.claranet.pt/sites/claranet.pt/files/u6/magic_quadrant_for_cloudenab_260243.pdf"><IMG
id=Picture_x0020_0 border=0 alt="GARTNER BANNER" src="http://lobo.li/N7Q8+"
width=324 height=41> </A></SPAN></P>
<P><SPAN style="COLOR: #909090">Empresa certificada ISO 9001, ISO 20000 e ISO
27001 <o:p></o:p></SPAN></P>
<P><o:p></o:p></P>
<DIV></DIV>
<DIV class=markdown></DIV>
<P>
<HR>
_______________________________________________<BR>squid-users mailing
list<BR>squid-users@lists.squid-cache.org<BR>http://lists.squid-cache.org/listinfo/squid-users<BR></DIV></DIV></DIV></DIV></BODY></HTML>