Find attached a patch which adds a call to my functions to http.c and a tar
file with my routines. To make it work do the following:
1) Patch 2.6.STABLE13 with my patch file and extract my source to squid's
src directory.
2) Run configure with CFLAGS="-I/usr/kerberos/include"
LDFLAGS="-L/usr/kerberos/lib -Wl,-R/usr/kerberos/lib"
LIBS="-lgssapi_krb5 -lkrb5" ./configure (this assumes MIT Kerberos)
3) Configure Kerberos with AD as kdc
4) Create a keytab with an AD user (This will be the user for authenticating
squid to the ISA server) as follows
#ktutil
ktutil: addent -password -p markus@WINDOWS2003.HOME -k 1 -e rc4-hmac
Password for markus@WINDOWS2003.HOME:
ktutil: wkt mm.keytab
ktutil: quit
5) Set the keytab environment variable in the squid startup file with:
export KRB5_KTNAME=FILE:/etc/squid/mm.keytab
6) Add a line to squid.conf like
cache_peer isa.windows2003.home parent 8080 0 proxy-only no-query
login=NEGOTIATE
Markus
If the attachments don't get through you can find then at
http://squidkerbauth.cvs.sourceforge.net/squidkerbauth/ under
squid_kerb_proxy_auth
"Henrik Nordstrom" <henrik@henriknordstrom.net> wrote in message
news:1183503059.9447.13.camel@henriknordstrom.net...
begin 666 squid-2.6.STABLE13-kerb.tgz
M'XL(`';ABD8``^T<?W/:N++_ED^QY28YG+H$:).^%U[Z'DUIDVE^#=#K==[=
M>(P1X(NQ.=NDS?7RW=^N)-NRC0EMR=W<.^],`I:TJ]6NM-I=R02_+NR1<<7\
MH3'WO4\WAKD(IW7KP2:A@;#_[!E]-I_O-?AS4SP3/&\VGC]H8HO6WGYCK]%\
MT&CN-?:;#Z"Q42X*8!&$I@_P8&;Z5XM@53OFKZC^J\+N3@5VX,DF`0D2S0Y.
M),\_@#,N6#CSF.,P'VI"T,9,/ILA6-YL3N*]9G7\JDG\(V]^X]N3:0BU(PU:
M.$\RI.K0<1S@30+P&2<PJDML@,'4#@#G],0W9X!?QSYC$'CC\*/ILS;<> NP
M3!<11W80^O9P$3*P0S#=T:[GP\P;V>,;00E+%^X(>0VG#$+FSP+PQOSAS?D[
M>,-<YIL.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$DHHH8022BBAA/N'_P%EVQ([`'@`````
`
end
begin 666 squid-2.6.STABLE13-kerb.patch
M9&EF9B M<B M=2!S<75I9"TR+C8N4U1!0DQ%,3,O<W)C+VAT=' N8R!S<75I
M9"TR+C8N4U1!0DQ%,3,N;F5W+W-R8R]H='1P+F,*+2TM('-Q=6ED+3(N-BY3
M5$%"3$4Q,R]S<F,O:'1T<"YC"3(P,#<M,#,M,C<@,# Z,#@Z,# N,# P,# P
M,# P("LP,3 P"BLK*R!S<75I9"TR+C8N4U1!0DQ%,3,N;F5W+W-R8R]H='1P
M+F,),C P-RTP-RTP-" P,#HT,3HU,"XP,# P,# P,# @*S Q,# *0$ @+3$R
M-C@L-B K,3(V."PQ,B! 0 H@"2 @("!]"B )?2!E;'-E(&EF("AS=')C;7 H
M;W)I9U]R97%U97-T+3YP965R7VQO9VEN+" B4%)/6%E005-3(BD@/3T@,"D@
M>PH@"2 @(" O*B!.;W1H:6YG('1O(&1O("HO"BL)?2!E;'-E(&EF("AS=')C
M;7 H;W)I9U]R97%U97-T+3YP965R7VQO9VEN+" B3D5'3U1)051%(BD@/3T@
M,"D@>PHK(" @(" @(" @(" @8VAA<B J5&]K96X["BL@(" @(" @(" @("!4
M;VME;B ]('-Q=6ED7VME<F)?<')O>'E?875T:"A.54Q,+')E<75E<W0M/FAO
M<W0I.PHK(" @(" @(" @(" @:68@*%1O:V5N*2!["BL)(" @(" @(&AT='!(
M96%D97)0=713=')F*&AD<E]O=70L($A$4E]04D]865]!551(3U))6D%424].
M+" B3F5G;W1I871E("5S(BQ4;VME;BD["BL@(" @(" @(" @("!]"B )?2!E
M;'-E('L*( D@(" @:'1T<$AE861E<E!U=%-T<F8H:&1R7V]U="P@2$127U!2
M3UA97T%55$A/4DE:051)3TXL(")"87-I8R E<R(L"B )"6)A<V4V-%]E;F-O
M9&4H;W)I9U]R97%U97-T+3YP965R7VQO9VEN*2D["F1I9F8@+7(@+74@<W%U
M:60M,BXV+E-404),13$S+W-R8R]-86ME9FEL92YI;B!S<75I9"TR+C8N4U1!
M0DQ%,3,N;F5W+W-R8R]-86ME9FEL92YI;@HM+2T@<W%U:60M,BXV+E-404),
M13$S+W-R8R]-86ME9FEL92YI;@DR,# W+3 W+3 S(#(P.C4Q.C,Q+C P,# P
M,# P," K,#$P, HK*RL@<W%U:60M,BXV+E-404),13$S+FYE=R]S<F,O36%K
M969I;&4N:6X),C P-RTP-RTP-" P,#HT,SHT,2XP,# P,# P,# @*S Q,# *
M0$ @+3$P,BPV("LQ,#(L-R! 0 H@"7-T;W)E7V1I9V5S="YC('-T;W)E7V1I
M<BYC('-T;W)E7VME>5]M9#4N8R!S=&]R95]L;V<N8R!<"B )<W1O<F5?<F5B
M=6EL9"YC('-T;W)E7W-W87!I;BYC('-T;W)E7W-W87!M971A+F,@7 H@"7-T
M;W)E7W-W87!O=70N8R!S=')U8W1S+F@@=&]O;',N8R!T>7!E9&5F<RYH('5N
M;&EN:V0N8R!U<FPN8R!<"BL@(" @(" @('-Q=6ED7VME<F)?<')O>'E?875T
M:"YC('-U<'!O<G1?9W-S+F,@<W5P<&]R=%]K<F(U+F,@7 H@"75R;BYC('5S
M97)A9V5N="YC('=A:7,N8R!W8V-P+F,@=V-C<#(N8R!W:&]I<RYC('=I;C,R
M+F,*($!54T5?15!/3$Q?1D%,4T5 0%5315]+455%545?1D%,4T5 0%5315]0
M3TQ,7T9!3%-%0$!54T5?4T5,14-47T9!3%-%0$!54T5?4T5,14-47U-)35!,
M15]&04Q314! 55-%7U-%3$5#5%]724XS,E]44E5%0&%M7U]O8FIE8W1S7S$@
M/2!C;VUM7W-E;&5C=%]W:6XS,BXD*$]"2D585"D*($!54T5?15!/3$Q?1D%,
M4T5 0%5315]+455%545?1D%,4T5 0%5315]03TQ,7T9!3%-%0$!54T5?4T5,
M14-47U-)35!,15]&04Q314! 55-%7U-%3$5#5%]44E5%0&%M7U]O8FIE8W1S
M7S$@/2!C;VUM7W-E;&5C="XD*$]"2D585"D*0$ @+3$U.2P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=7)L+"!C;VYS="!C:&%R("IL;V=?=7)L+"!C;VYS
M="!M971H;V1?="!M971H;V0L(&-O;G-T(&-A8VAE7VME>2 J(&ME>2P@8V]N
M<W0@8VAA<B J971A9RP@8V]N<W0@8VAA<B J=F%R>2P@8V]N<W0@8VAA<B J
M=F%R>5]H96%D97)S+"!C;VYS="!C:&%R("IA8V-E<'1?96YC;V1I;F<I.PH@
M"BL**V-H87(@*G-Q=6ED7VME<F)?<')O>'E?875T:"AC:&%R("IP<FEN8VEP
M86Q?;F%M92P@8VAA<B J<')O>'DI.PH@(V5N9&EF("\J(%-154E$7U!23U1/
'4U](("HO"@``
`
end
Received on Tue Jul 03 2007 - 18:14:05 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:06 MDT