I'm tring to build squid 2.5.STABLE4 with support for NTLM and winbind...
I already built samba 3.0.0 with the following options:
./configure --prefix=/usr --sysconfdir=/etc/samba --localstatedir=/var/samba --with-fhs \
--with-privatedir=/etc/samba/private \
--with-lockdir=/var/samba/lock \
--with-piddir=/var/samba \
--with-swatdir=/usr/local/swat \
--with-ads \
--with-smbmount \
--with-pam \
--with-quotas \
--with-acl-support \
--with-winbind
it built fine.
Now I try to build squid-2.5.STABLE4 with the option --with-samba-source because I've read that squid 2.5.STABLE4 got the header files from samba 2.2.7
But when squid compile I got the following error
...
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I/home/j_houde/samba-3.0.0/source -g -O2 -Wall -c `test -f wb_basic_auth.c || echo './'`wb_basic_auth.c
source='wb_common.c' object='wb_common.o' libtool=no \
depfile='.deps/wb_common.Po' tmpdepfile='.deps/wb_common.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I/home/j_houde/samba-3.0.0/source -g -O2 -Wall -c `test -f wb_common.c || echo './'`wb_common.c
wb_common.c: In function `init_request':
wb_common.c:67: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:76: structure has no member named `domain'
wb_common.c:77: structure has no member named `domain'
wb_common.c:77: structure has no member named `domain'
wb_common.c: In function `winbindd_send_request':
wb_common.c:333: structure has no member named `domain'
make[3]: *** [wb_common.o] Error 1
make[3]: Leaving directory `/home/j_houde/squid-2.5.STABLE4/helpers/basic_auth/winbind'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/j_houde/squid-2.5.STABLE4/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/j_houde/squid-2.5.STABLE4/helpers'
make: *** [all-recursive] Error 1
#
The options that I use to built squid are: ./configure --prefix=/usr --sysconfdir=/etc/squid \ --localstatedir=/var/squid \ --enable-snmp \ --enable-arp-acl --enable-ssl --enable-auth="ntlm,basic" \ --enable-basic-auth-helpers="NCSA,PAM,SMB,winbind" \ --enable-ntlm-auth-helpers="SMB,winbind" \ --enable-external-acl-helpers="wbinfo_group,winbind_group" \ --with-samba-sources=/home/j_houde/samba-3.0.0
I would like to know if someone can point me to the right direction to fix that problem?
Also, if I can only built squid with the samba 2.2.7 headers, will it work with samba 3.0.0 or I should downgrade to 2.2.7? Squid seems to compile fine without --with-samba-source option...
Thanks! Jean-Philippe
