<HTML><HEAD>
<META content="text/html charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Good to hear. It seems freebsd has com_err.h why I did not come
across it lately.</DIV>
<DIV> </DIV>
<DIV>Markus</DIV>
<DIV> </DIV>
<DIV
style="BORDER-TOP-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 4px solid; BORDER-RIGHT-COLOR: #000000">
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV>"Simon Stäheli" <sis@open.ch> wrote in message
news:EE58FC57-6B97-4DE6-9FDF-2881209A5AB3@open.ch...</DIV></DIV></DIV>
<DIV
style="BORDER-TOP-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 4px solid; BORDER-RIGHT-COLOR: #000000">
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV> </DIV>
<DIV>
<DIV>On 14.02.2015, at 15:43, Markus Moeller <<A
href="mailto:huaraz@moeller.plus.com">huaraz@moeller.plus.com</A>>
wrote:</DIV><BR class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<BLOCKQUOTE
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"
type="cite"><BR class=Apple-interchange-newline>On 12.02.2015, at 17:58,
Amos Jeffries <<A
href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</A>>
wrote:<BR><BR>
<BLOCKQUOTE type="cite">On 13/02/2015 5:41 a.m., Simon Stäheli wrote:<BR>
<BLOCKQUOTE type="cite"><BR>hmh, HAVE_KRB5 seems not to be set in
include/autoconf.h<BR><BR>What is the correct way to provide squid the
path to the kerberos header files?<BR><BR>./configure —help doesn’t show
a useful option as --with-krb5-config= seems not to be the right
option.<BR></BLOCKQUOTE><BR>If you are using Squid-3.4 or older versions
where that option exists,<BR>you need to insted use CXXFLAGS to set the -I
(library headers) and -L<BR>(library binary) locations.<BR>Something
like:<BR>./configure CXXFLAGS="-I/path/to/include -L/path/to/lib"
…<BR></BLOCKQUOTE><BR><BR>Thx for the hint! Tried ./configure
CXXFLAGS="-I/opt/krb5/include -L/opt/krb5/lib" --prefix=/opt/squid
--sysconfdir=/opt/squid/etc --enable-auth --enable-auth-negotiate="kerberos"
--enable-external-acl-helpers=“kerberos_ldap_group” but without success. The
/opt/krb5/ paths have been set in the Makefile, but HAVE_KRB5 is still no
defined. Anything else to do here? (used Squid-3.4.11)<BR><BR><BR>
<BLOCKQUOTE type="cite"><BR><BR>Squid-3.5 and later have per-library
./configure options. In the case of<BR>Heimdal use
--with-heimdal-krb5=PATH<BR></BLOCKQUOTE><BR><BR>tried it with Squid-3.5 and
--with-heimdal-krb5=PATH and seems to work until make tries to compile
kerberos_ldap_group<BR><BR>make[2]: Entering directory
`/usr/src/packages/src/squid-3.5.1/helpers/external_acl/kerberos_ldap_group'<BR>g++
-DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib
-I../../../src -I../../../include -I/opt/krb5/include
-I/opt/krb5/include -I. -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -m64
-I/opt/krb5/include -I/opt/krb5/include -L/opt/krb5/lib
-march=native -MT support_krb5.o -MD -MP -MF .deps/support_krb5.Tpo -c -o
support_krb5.o support_krb5.cc<BR>cc1plus: warnings being treated as
errors<BR>support_krb5.cc: In function 'int
krb5_create_cache(char*)':<BR>support_krb5.cc:89:9: error: 'const char*
krb5_get_err_text(krb5_context_data*, krb5_error_code)' is deprecated
(declared at /opt/krb5/include/krb5-protos.h:2089)<BR>...<BR>make[2]: ***
[support_krb5.o] Error 1<BR>make[2]: Leaving directory
`/usr/src/packages/src/OSAGsquid-sis/squid-3.5.1/helpers/external_acl/kerberos_ldap_group’<BR><BR>my
Heimdal Kerberos (Heimdal 1.3.3) libs seemed no to be compatible with
kerberos_ldap_group?!<BR><BR><BR></BLOCKQUOTE><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><SPAN
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FLOAT: none; FONT: 12px helvetica; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">I
am a bit surprised as I did not see this when testing on freebsd with
heimdal. I update my trunk version at<SPAN
class=Apple-converted-space> </SPAN></SPAN><A
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"
href="https://code.launchpad.net/~huaraz/squid/kerberos-updates">https://code.launchpad.net/~huaraz/squid/kerberos-updates</A><SPAN
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FLOAT: none; FONT: 12px helvetica; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">.
Can you test with that and if OK I will ask to include the updates.</SPAN><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"></BLOCKQUOTE>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Your trunk version works perfectly. Thank you very much Markus!</DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE type="cite">
<BLOCKQUOTE
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"
type="cite">
<BLOCKQUOTE
type="cite"><BR><BR>Amos<BR><BR>_______________________________________________<BR>squid-users
mailing list<BR><A
href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</A><BR><A
href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</A><BR></BLOCKQUOTE><BR></BLOCKQUOTE><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><SPAN
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FLOAT: none; FONT: 12px helvetica; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">Markus<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><SPAN
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FLOAT: none; FONT: 12px helvetica; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">_______________________________________________</SPAN><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><SPAN
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FLOAT: none; FONT: 12px helvetica; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">squid-users
mailing list</SPAN><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><A
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"
href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</A><BR
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><A
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"
href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</A></BLOCKQUOTE></DIV><BR>
<P>
<HR>
_______________________________________________<BR>squid-users mailing
list<BR>squid-users@lists.squid-cache.org<BR>http://lists.squid-cache.org/listinfo/squid-users<BR></DIV></DIV></DIV></DIV></BODY></HTML>