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

From: Luca Maranzano <[email protected]>
Date: Tue, 29 Nov 2005 12:36:33 +0100

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 Tue Nov 29 2005 - 04:36:51 MST

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