Re: Free-Radius install on Solaris

2004-09-24 Thread Stefan . Neis
Mitchell, Michael schrieb:
 Hi Steven,
 
 First things to check:
 
 1) Did the eap module/sub modules actually build?
 
 Check the installation lib directory for rlm_eap*. I
 found that using
 the Sun Workshop C compiler, several modules do not build
 as they rely
 on gcc features (in particular zero length arrays).

Also, using gcc to build 1.0.0, I found that using a static build of
OpenSSL
that's not installed in a default search path requires to run
 CFLAGS=-I/ssl-include-directory LDFLAGS=-L/ssl-lib-dir -lssl
-lcrypto
 ./configure, as simply using the documented
--with-openssl-something
switches will silently fail to find/use OpenSSL and thus silently
disable 
EAP thanks to the bad linking order of the checks in configure.

  HTH,
 Stefan

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Free-Radius install on Solaris

2004-09-24 Thread Stephen Donovan
Subject: RE: Free-Radius install on Solaris
Date: Fri, 24 Sep 2004 09:49:29 +1000
From: Mitchell, Michael [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Hi Steven,

First things to check:

1) Did the eap module/sub modules actually build?

Check the installation lib directory for rlm_eap*. I found that using
the Sun Workshop C compiler, several modules do not build as they rely
on gcc features (in particular zero length arrays).



That was the problems, when I went over the output from .configure, I
saw that it was silently not building the eap related modules because
it could not find openssl/ssl.h, I fixed this and both 0.9.3 and 1.0.1
will run. Which brings me to my net problem.

Using 0.9.3 I can get a couple of APs to authenticate to my radius
server, but this does not work under 1.0.1. Since I have a working
version with 0.9.3, I am going to use this and complete the rest of my
network setup and once this is done, I will try and figure out what
has changed between 0.9.3 and 1.0.1.

Thanks for the input.

Stephen Donovan

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Free-Radius install on Solaris

2004-09-24 Thread Mike Markowski
On Fri 24-Sep-04 at 1032 EDT, Alan DeKok wrote:
 Stephen Donovan [EMAIL PROTECTED] wrote:
  Check the installation lib directory for rlm_eap*. I found that using
  the Sun Workshop C compiler, several modules do not build as they rely
  on gcc features (in particular zero length arrays).
 
   Can you say which files?
 
   I can't see any examples of that.

I think this was the only one of those we ran into on Solaris:

src/modules/rlm_passwd/rlm_passwd.c, line 33 (in v1.0.1), var 'field':

   struct mypasswd {
   struct mypasswd *next;
   char *listflag;
   char *field[0];
   }; 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Free-Radius install on Solaris

2004-09-24 Thread Alan DeKok
Mike Markowski [EMAIL PROTECTED] wrote:
 I think this was the only one of those we ran into on Solaris:
 
 src/modules/rlm_passwd/rlm_passwd.c, line 33 (in v1.0.1), var 'field':

  Fixed, thanks.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Free-Radius install on Solaris

2004-09-23 Thread Stephen Donovan
Good Day All

I have looked for a solution to this, but I haven't been able to find
anything that will solve my problem.

I am attempting to install Free-Radius on a Solaris 8 box. I have
tried 1.0.1 and 0.9.3, but both of the result in a core dump when I
attempt to activate the EAP support. For 1.0.1, I also built this
version on a linux box and the configuration files from Solaris work
without a problem. On the 0.9.3 build I took the configuration files
from a working setup and again a core dump.

Currently I am building the latest CVS snapshot. Has anyone seen a
problem like this in the past of have a possible solution?

Thanks
Stephen Donovan

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Free-Radius install on Solaris

2004-09-23 Thread Mitchell, Michael
Hi Steven,

First things to check:

1) Did the eap module/sub modules actually build?

Check the installation lib directory for rlm_eap*. I found that using
the Sun Workshop C compiler, several modules do not build as they rely
on gcc features (in particular zero length arrays).

2) Run the server in debug mode to see where it is going wrong.

radiusd -X


 -Original Message-
 From: Stephen Donovan [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, 23 September 2004 10:39 PM
 To: [EMAIL PROTECTED]
 Subject: Free-Radius install on Solaris
 
 Good Day All
 
 I have looked for a solution to this, but I haven't been able to find
 anything that will solve my problem.
 
 I am attempting to install Free-Radius on a Solaris 8 box. I have
 tried 1.0.1 and 0.9.3, but both of the result in a core dump when I
 attempt to activate the EAP support. For 1.0.1, I also built this
 version on a linux box and the configuration files from Solaris work
 without a problem. On the 0.9.3 build I took the configuration files
 from a working setup and again a core dump.
 
 Currently I am building the latest CVS snapshot. Has anyone seen a
 problem like this in the past of have a possible solution?
 
 Thanks
 Stephen Donovan
 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html