I successfully used current freeradius for several months for 802.1x authentication (TTLS, TLS and PEAP) on debian based systems but had trouble compiling it on Redhat 9.0. Finally I dived into the issue and found the cause to be opensslconf.h on redhat.
Here's the patch that makes it possible to successfully configure and build freeradius on Redhat 9.0: (one can also simply copy over opensslconf.h from debian):
$ diff -ruN opensslconf.h.orig opensslconf.h --- opensslconf.h.orig 2003-09-25 08:30:33.000000000 -0500 +++ opensslconf.h 2004-01-03 14:58:19.000000000 -0600 @@ -13,17 +13,14 @@ #ifndef OPENSSL_NO_RC5 # define OPENSSL_NO_RC5 #endif -#ifndef OPENSSL_NO_EC -# define OPENSSL_NO_EC +#ifndef OPENSSL_NO_KRB5 +# define OPENSSL_NO_KRB5 #endif
#endif /* OPENSSL_DOING_MAKEDEPEND */ #ifndef OPENSSL_THREADS # define OPENSSL_THREADS #endif -#ifndef OPENSSL_NO_ASM -# define OPENSSL_NO_ASM -#endif
/* The OPENSSL_NO_* macros are also defined as NO_* if the application asks for it. This is a transient feature that is provided for those @@ -39,15 +36,15 @@ # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) # define NO_RC5 # endif -# if defined(OPENSSL_NO_EC) && !defined(NO_EC) -# define NO_EC +# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) +# define NO_KRB5 # endif #endif
/* crypto/opensslconf.h.in */
/* Generate 80386 code? */ -#define I386_ONLY +#undef I386_ONLY
#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
[EMAIL PROTECTED] openssl]$
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html