Re: [squid-users] Question about Bug 1681

2008-03-04 Thread Guido Serassio

Hi,

At 21:19 04/03/2008, Brian Kirk wrote:

Ok so do I only need to apply it to squid, or will I have to also go
into samba and apply it there as well?  And does this need to be
applied to all versions of squid 2.6 stable releases?  Or is it part
of a certain stable release?


It's included in all Squid starting from 2.6 STABLE2.

Regards

Guido


On 3/3/08, Guido Serassio <[EMAIL PROTECTED]> wrote:
> Hi,
>
> At 16:56 03/03/2008, Brian Kirk wrote:
> >I have a question regarding the following bug:
> >http://www.squid-cache.org/bugs/show_bug.cgi?id=1681
> >
> >It appears as though this bug is only something that occurs with
> >squid's ntlm_auth, we however use samba's ntlm_auth, and I see simular
> >problems.
> >
> >snippet from squid.conf
> >auth_param ntlm program /opt/samba/bin/ntlm_auth
> >--helper-protocol=squid-2.5-ntlmssp
> >
> >We seem to have the exact same problem though.  We are running
> >squid2.6 Stable 9, and samba 3.0.25b.  Is this patch needed for our
> >environment?
>
> No.
>
> The fix was for all NTLM authenticators.
>
> Regards
>
> Guido
>
>
>
> -
> 
> Guido Serassio
> Acme Consulting S.r.l. - Microsoft Certified Partner
> Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
> Tel. : +39.011.9530135  Fax. : +39.011.9781115
> Email: [EMAIL PROTECTED]
> WWW: http://www.acmeconsulting.it/
>
>



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



Re: [squid-users] Question about Bug 1681

2008-03-04 Thread Brian Kirk
Ok so do I only need to apply it to squid, or will I have to also go
into samba and apply it there as well?  And does this need to be
applied to all versions of squid 2.6 stable releases?  Or is it part
of a certain stable release?

On 3/3/08, Guido Serassio <[EMAIL PROTECTED]> wrote:
> Hi,
>
> At 16:56 03/03/2008, Brian Kirk wrote:
> >I have a question regarding the following bug:
> >http://www.squid-cache.org/bugs/show_bug.cgi?id=1681
> >
> >It appears as though this bug is only something that occurs with
> >squid's ntlm_auth, we however use samba's ntlm_auth, and I see simular
> >problems.
> >
> >snippet from squid.conf
> >auth_param ntlm program /opt/samba/bin/ntlm_auth
> >--helper-protocol=squid-2.5-ntlmssp
> >
> >We seem to have the exact same problem though.  We are running
> >squid2.6 Stable 9, and samba 3.0.25b.  Is this patch needed for our
> >environment?
>
> No.
>
> The fix was for all NTLM authenticators.
>
> Regards
>
> Guido
>
>
>
> -
> 
> Guido Serassio
> Acme Consulting S.r.l. - Microsoft Certified Partner
> Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
> Tel. : +39.011.9530135  Fax. : +39.011.9781115
> Email: [EMAIL PROTECTED]
> WWW: http://www.acmeconsulting.it/
>
>


Re: [squid-users] Question about Bug 1681

2008-03-03 Thread Guido Serassio

Hi,

At 16:56 03/03/2008, Brian Kirk wrote:

I have a question regarding the following bug:
http://www.squid-cache.org/bugs/show_bug.cgi?id=1681

It appears as though this bug is only something that occurs with
squid's ntlm_auth, we however use samba's ntlm_auth, and I see simular
problems.

snippet from squid.conf
auth_param ntlm program /opt/samba/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp

We seem to have the exact same problem though.  We are running
squid2.6 Stable 9, and samba 3.0.25b.  Is this patch needed for our
environment?


No.

The fix was for all NTLM authenticators.

Regards

Guido



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



[squid-users] Question about Bug 1681

2008-03-03 Thread Brian Kirk
I have a question regarding the following bug:
http://www.squid-cache.org/bugs/show_bug.cgi?id=1681

It appears as though this bug is only something that occurs with
squid's ntlm_auth, we however use samba's ntlm_auth, and I see simular
problems.

snippet from squid.conf
auth_param ntlm program /opt/samba/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp

We seem to have the exact same problem though.  We are running
squid2.6 Stable 9, and samba 3.0.25b.  Is this patch needed for our
environment?

And can someone explain what is happening during this strace -p of one
of our ntlm_auth processes, is the timeout occurring because the DC
isn't responding?

read(0, "YR TlRMTVNTUAABB7IIogMAAwAzA"..., 1024) = 76
read(3, "\206J\25\345+\5\204\317", 8)   = 8
write(1, "TT TlRMTVNTUAACBgAGADAFg"..., 204) = 204
read(0, "KK TlRMTVNTUAADGAAYAHIYA"..., 1024) = 220
select(6, [5], NULL, NULL, {0, 0})  = 0 (Timeout)
write(5, "$\10\0\0\r\0\0\0\247\3\0\0\214\0\0\0\0\0\0\0\0\0\0\0\0"...,
2084) = 2084
select(6, [5], NULL, NULL, {5, 0})  = 0 (Timeout)
select(6, [5], NULL, NULL, {5, 0})  = 0 (Timeout)
select(6, [5], NULL, NULL, {5, 0})  = 0 (Timeout)
select(6, [5], NULL, NULL, {5, 0})  = 0 (Timeout)
select(6, [5], NULL, NULL, {5, 0})  = 0 (Timeout)
select(6, [5], NULL, NULL, {5, 0})  = 1 (in [5], left {3, 343000})
read(5, "\264\f\0\0\2\0\0\0\0\0\0\0NT_STATUS_OK\0\0\0\0\0\0\0\0"...,
3240) = 3240
select(6, [5], NULL, NULL, {5, 0})  = 1 (in [5], left {5, 0})
read(5, "HDQ\\voj9088\0", 12)   = 12
write(1, "AF HDQ\\voj9088\n", 15)   = 15


>From the tcpdump, It appears as though the following happens:

client -> proxy (HTTP Get google)
proxy -> client (407 not authorized NTLM auth)
client -> proxy (HTTP Get google NTLM NEGOTIATE YR) TlRMTVNTUAABB7...
proxy -> clent (407 not yet NTLM CHALLENGE TT) TlRMTVNTUAACBg...
client -> proxy (HTTP Get google NTLM AUTH KK) TlRMTVNTUAADGA...
Domain\UserID

Is there more happening from the client to Domain controller?  I only
did a tcpdump on the squid server.

Thank you,
Brian