Article View: news.software.nntp
Article #78970Re: NNTP over SSL/TLS using INN 2.4.3
From: Julien ÉLIE
Date: Tue, 29 Apr 2008 10:28
Date: Tue, 29 Apr 2008 10:28
97 lines
4174 bytes
4174 bytes
Hi Bozweb,
>>> There is a bug in auth_krb5.c
>>
>>Or a problem with configure?
>>I have HAVE_ET_COM_ERR_H set if <et/com_err.h> exists.
>>
>>What does config.log say?
>
> Nothing in config.log
> Configure --with-perl on a centos 5.1
Hmm... auth_krb5.c should normally be dealt with only if "--with-kerberos"
is also given to configure.
I see that KRB5_AUTH is set in Makefile.global even though we do not want
Kerberos. It affects INN 2.4.x but it was fixed in INN 2.5.
Perhaps something like that should fix the problem for INN 2.4.x but
it is more a kludge than anything else:
Index: configure
===================================================================
--- configure (révision 7765)
+++ configure (copie de travail)
@@ -8054,6 +8054,8 @@
fi
+if test "${with_kerberos+set}" = set; then
+if test x"$with_kerberos" != xno ; then
inn_save_LIBS=$LIBS
LIBS=${KRB5_LIB}
@@ -8223,6 +8225,10 @@
fi
done
+
+fi
+fi
+
LIBS=$inn_save_LIBS
if test x"$DO_PERL" = xDO ; then
Index: configure.in
===================================================================
--- configure.in (révision 7765)
+++ configure.in (copie de travail)
@@ -818,19 +818,21 @@
dnl Check for Kerberos libraries for auth_krb5, and if found define KRB5_AUTH
dnl to the relevant object file, which will enable compilation of it.
-INN_SEARCH_AUX_LIBS(krb5_parse_name, krb5, KRB5_LIB,
- [KRB5_AUTH="auth_krb5"
- KRB5_LIB="$KRB5_LDFLAGS $KRB5_LIB -lk5crypto -lcom_err"
- AC_SUBST(KRB5_AUTH)
- AC_SUBST(KRB5_INC)
- AC_CHECK_HEADERS([et/com_err.h])], , [$LIBS -lk5crypto -lcom_err])
+if test x"$with_kerberos" != xno ; then
+ INN_SEARCH_AUX_LIBS(krb5_parse_name, krb5, KRB5_LIB,
+ [KRB5_AUTH="auth_krb5"
+ KRB5_LIB="$KRB5_LDFLAGS $KRB5_LIB -lk5crypto -lcom_err"
+ AC_SUBST(KRB5_AUTH)
+ AC_SUBST(KRB5_INC)
+ AC_CHECK_HEADERS([et/com_err.h])], , [$LIBS -lk5crypto -lcom_err])
-dnl Check for necessity of krb5_init_ets
-dnl OSX does not require this function
-inn_save_LIBS=$LIBS
-LIBS=$KRB5_LIB
-AC_CHECK_FUNCS(krb5_init_ets)
-LIBS=$inn_save_LIBS
+ dnl Check for necessity of krb5_init_ets
+ dnl OSX does not require this function
+ inn_save_LIBS=$LIBS
+ LIBS=$KRB5_LIB
+ AC_CHECK_FUNCS(krb5_init_ets)
+ LIBS=$inn_save_LIBS
+fi
dnl Libraries and flags for embedded Perl. Some distributions of Linux have
dnl Perl linked with gdbm but don't normally have gdbm installed, so on that
--
Julien ÉLIE
« Être øu ne pås être, telle est lå questiøn... » (Kerøzen)
Technical Details
Message-ID:
<fv6t7s$phe$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mailReferences:
<Pine.LNX.4.44.0804251207410.12509-100000@menace.crumblenet.co.uk> <4815e17f$0$14351$e4fe514c@news.xs4all.nl> <fv5d4g$rv3$1@news.trigofacile.com> <4816ced7$0$14349$e4fe514c@news.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <fv6t7s$phe$1@news.trigofacile.com> Subject: Re: NNTP over SSL/TLS using INN 2.4.3 Date: Tue, 29 Apr 2008 12:28:02 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <Pine.LNX.4.44.0804251207410.12509-100000@menace.crumblenet.co.uk> <4815e17f$0$14351$e4fe514c@news.xs4all.nl> <fv5d4g$rv3$1@news.trigofacile.com> <4816ced7$0$14349$e4fe514c@news.xs4all.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 97 NNTP-Posting-Host: amontpellier-152-1-75-216.w83-201.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1209464893 26158 83.201.234.216 (29 Apr 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Tue, 29 Apr 2008 10:28:13 +0000 (UTC) In-Reply-To: <4816ced7$0$14349$e4fe514c@news.xs4all.nl> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.0.6001.18000