RE: [squid-users] All NTLM auth RESERVED or DEFERRED

From: Берсенев Виктор Сергеевич <twoboots_at_ek.apress.ru>
Date: Fri, 14 Aug 2009 13:40:20 +0600

Get squid-3.0.STABLE18 from http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE18.tar.gz get patches

cat bug2648.patch |patch -p0
patching file src/helper.cc
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
12 out of 12 hunks ignored -- saving rejects to file src/helper.cc.rej

cat bug2648-2.patch |patch -p0
patching file src/auth/negotiate/auth_negotiate.cc
Hunk #1 succeeded at 367 (offset -12 lines).
Hunk #3 FAILED at 449.
Hunk #4 succeeded at 459 (offset -12 lines).
Hunk #5 succeeded at 516 with fuzz 2.
Hunk #6 FAILED at 527.
Hunk #7 succeeded at 528 (offset -12 lines).
2 out of 7 hunks FAILED -- saving rejects to file src/auth/negotiate/auth_negotiate.cc.rej
patching file src/auth/ntlm/auth_ntlm.cc
Hunk #1 succeeded at 329 (offset 4 lines).
Hunk #3 FAILED at 389.
Hunk #4 succeeded at 403 (offset 4 lines).
Hunk #5 FAILED at 436.
Hunk #6 FAILED at 447.
3 out of 7 hunks FAILED -- saving rejects to file src/auth/ntlm/auth_ntlm.cc.rej
patching file src/helper.cc
Hunk #1 succeeded at 1140 (offset 142 lines).
Hunk #2 FAILED at 1149.
Hunk #3 FAILED at 1166.
Hunk #4 succeeded at 1356 (offset 62 lines).
Hunk #5 succeeded at 1459 (offset 142 lines).
2 out of 5 hunks FAILED -- saving rejects to file src/helper.cc.rej
patching file src/helper.h
Hunk #1 succeeded at 53 with fuzz 2 (offset 2 lines).

What is wrong?

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Friday, August 14, 2009 5:38 AM
To: Берсенев Виктор Сергеевич
Cc: 'squid-users_at_squid-cache.org'
Subject: Re: [squid-users] All NTLM auth RESERVED or DEFERRED

Берсенев Виктор Сергеевич wrote:
> Squid 3.0 stable 18
>
> # FD PID # Requests # Deferred Requests Flags Time Offset Request
> 1 58 31375 186 0 R 0.000 0 (none)
> 2 59 31376 59 0 R 0.001 0 (none)
> 3 60 31377 13 0 R 0.000 0 (none)
> 4 61 31379 16 0 R 0.001 0 (none)
> 5 62 31380 9 0 R 0.001 0 (none)
> 6 63 31381 86 0 R 0.001 0 (none)
> 7 64 31382 8 0 R 0.000 0 (none)
> 8 65 31383 1 0 R 0.002 0 (none)
> 9 66 31384 1 0 R 0.003 0 (none)
> 10 67 31385 38 0 R 0.001 0 (none)
>
> And crash squid....
>
> On squid 2.7 stable 7 and olders this config work is fine
>
> auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
> auth_param ntlm children 60
> auth_param ntlm keep_alive on (off try too)
> external_acl_type nt_group ttl=200 children=30 %LOGIN /usr/local/squid_3_0_st18/libexec/wbinfo_group.pl
>
> acl users src 10.0.0.0/255.255.0.0
> acl work_time time MTWHF 00:00-23:59
> acl sg_squid_access external nt_group inetusers_standart
> http_access allow work_time sg_squid_access users

This is a known and now fixed bug
http://www.squid-cache.org/bugs/show_bug.cgi?id=2648.
The fix is on its way down to 3.0 now.

Amos

--
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
   Current Beta Squid 3.1.0.13
Received on Fri Aug 14 2009 - 07:40:29 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 15 2009 - 12:00:02 MDT