[squid-users] RE: ICAP patch for 2.5.STABLE12 breaks ntlm_auth module

From: Baumgaertel, Oliver <oliver.baumgaertel@dont-contact.us>
Date: Wed, 30 Nov 2005 08:47:45 +0100

 

Hello.

I've been told that they are currently rewriting some bigger parts of it
and that I am to use an "older" patch.

However, I have a working (with Stable12), rather current version of the
ICAP patch, together with some "hotfixes" which help getting rid of some
assertions without compromising the stability. It already has a working
fix for the "icap no keep-alive issue" too, which is a big plus,
especially together with NTLM.

If you like I'll send those to you.

regards, Oliver Baumgaertel

-----Original Message-----
From: Luca Maranzano [mailto:liuk@publinet.it]
Sent: Dienstag, 29. November 2005 12:37
To: squid-users@squid-cache.org
Subject: [squid-users] ICAP patch for 2.5.STABLE12 breaks ntlm_auth
module

Hello all,

I'm trying to add ICAP support to my Squid 2.5.STABLE12 on Debian 3.1.

I've downloaded the sources and the patch from CVS
http://devel.squid-cache.org/cgi-bin/diff2/icap-2.5.patch?s2_5

I've configured Squid with the ntlm authentication module.

The patch applies fine, but I get the following error during
compilation in the auth_ntlm module:

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -m32 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Wall -D_REENTRANT -c -o
ntlm/auth_ntlm.o `test -f ntlm/auth_ntlm.c || echo
'./'`ntlm/auth_ntlm.c
ntlm/auth_ntlm.c: In function `authenticateNTLMFixErrorHeader':
ntlm/auth_ntlm.c:335: error: structure has no member named
`proxy_keepalive'
ntlm/auth_ntlm.c:346: error: structure has no member named
`proxy_keepalive'
ntlm/auth_ntlm.c:358: error: structure has no member named
`proxy_keepalive'
make[5]: *** [ntlm/auth_ntlm.o] Error 1
make[5]: Leaving directory `/usr/src/squid-2.5.12/src/auth'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/squid-2.5.12/src/auth'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/squid-2.5.12/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/squid-2.5.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/squid-2.5.12'
make: *** [build] Error 2

The patch changes the proxy_keepalive struct in the ConnStateData which
is not available in the function authenticateNTLMFixErrorHeader() in
src/auth/ntlm/auth_ntlm.c.

Is this a known issue with 2.5.12?

TIA

Kind regards,
Luca
Received on Wed Nov 30 2005 - 00:47:53 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST