Hello I'm trying to install FR 1.1.6 (from .tar file) on Solaris 8, with openssl 0.9.8e (also installed from .tar file), and when I do the "make", the types rlm_eap_peap and rlm_eap_tls fail. When I do the "compile" they find the OpenSSL libs The error is: In file included from eap_peap.h:25, from rlm_eap_peap.c:24: ../../libeap/eap_tls.h:138: error: parse error before "SSL" I know this is an "old" problem but, I thougth that was related with a bug in 1.1.1 version Does someone give me some indications on how to solve this problem? Thanks in advance ******************************************* Pilar Sánchez Fernández Comunicaciones CEDEX C/ Alfonso XII nº 3 y 5 Tel: 91 335 72 81 Mail: pilar.sanchez@cedex.es http://www.cedex.es ********************************************
Hello I think I've found the solution to my problem. I put as option of "compile" -with-openssl-libraries=/usr/local/ssl/lib --with-openssl-includes=/usr/local/ssl/include But this was not enough, I've had to add the variable OPENSS_LIBS=/usr/local/ssl/lib After compiling, and before to do the "make", I've had to modify the Makefile of rlm_eap_peap, rlm_eap_tls and rlm_eap_tls and put the path to SSL library and include, instead of variables, in RLM_CFLAGS and RLM_LIBS: ORIGINAL MAKEFILE TARGET = rlm_eap_peap SRCS = rlm_eap_peap.c peap.c HEADERS = eap_peap.h ../../eap.h ../../rlm_eap.h RLM_CFLAGS = -I../.. -I../../libeap $(INCLTDL) $(OPENSSL_INCLUDE) RLM_LIBS = ../../libeap/libeap.la $(OPENSSL_LIBS) .. .. MODIFIED MAKEFILE TARGET = rlm_eap_peap SRCS = rlm_eap_peap.c peap.c HEADERS = eap_peap.h ../../eap.h ../../rlm_eap.h RLM_CFLAGS = -I../.. -I../../libeap -I/usr/local/ssl/include $(INCLTDL) RLM_LIBS = ../../libeap/libeap.la /usr/local/ssl/lib .. .. With these options and changes the "make" has worked and I can finish the installation of FR with eap-peap, eap_tls and eap_ttls modules Maybe this can help other people Regards
-----Mensaje original----- De: freeradius-users-bounces+pilar.sanchez=cedex.es@lists.freeradius.org [mailto:freeradius-users- bounces+pilar.sanchez=cedex.es@lists.freeradius.org] En nombre de Pilar Sanchez Enviado el: martes, 29 de mayo de 2007 15:21 Para: Freeradius-Users@lists.freeradius.org Asunto: error make rlm_tls
Hello
I'm trying to install FR 1.1.6 (from .tar file) on Solaris 8, with openssl 0.9.8e (also installed from .tar file), and when I do the "make", the types rlm_eap_peap and rlm_eap_tls fail. When I do the "compile" they find the OpenSSL libs
The error is:
In file included from eap_peap.h:25, from rlm_eap_peap.c:24: ../../libeap/eap_tls.h:138: error: parse error before "SSL"
I know this is an "old" problem but, I thougth that was related with a bug in 1.1.1 version
Does someone give me some indications on how to solve this problem? Thanks in advance
******************************************* Pilar Sánchez Fernández Comunicaciones CEDEX C/ Alfonso XII nº 3 y 5 Tel: 91 335 72 81 Mail: pilar.sanchez@cedex.es http://www.cedex.es ********************************************
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Pilar Sanchez wrote:
I put as option of "compile" -with-openssl-libraries=/usr/local/ssl/lib --with-openssl-includes=/usr/local/ssl/include
Maybe that should be with --with-openssl-libraries. You have -with-openssl-libraries.
But this was not enough, I've had to add the variable OPENSS_LIBS=/usr/local/ssl/lib
OPENSSL_LIBS is defined directly by the argument to --with-openssl-libraries. See configure.in. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Pilar Sanchez wrote:
I put as option of "compile" -with-openssl-libraries=/usr/local/ssl/lib --with-openssl-includes=/usr/local/ssl/include
Maybe that should be with --with-openssl-libraries.
You have -with-openssl-libraries.
I wrote bad in the email but was rigth when I compiled. I did all the process again and still had to modify the Makefiles of modules. But now I've found another problem and I think this will be more difficult to solve, when I execute radius -X -A I've got: rlm_eap: Failed to link EAP-Type/tls: ld.so.1: radiusd: fatal: relocation error: file /usr/local/freeradius/lib/rlm_eap_tls-1.1.6.so : symbol cbtls_password: referenced symbol not found radiusd.conf[10]: eap: Module instantiation failed. radiusd.conf[1959] Unknown module "eap". Thanks
Hi; I have freeradius configured on Fedora Core 6, I tried to configure a backup script where I can copy /etc/raddb folder to another server with the same version and the same operating system. When it's done, the command service radiusd start did not work, But radiusd -x & worked and the server is well functioning. What could be the problem? Thanks Elie Hani
On Fri 01 Jun 2007, Elie Hani wrote:
Hi;
I have freeradius configured on Fedora Core 6, I tried to configure a backup script where I can copy /etc/raddb folder to another server with the same version and the same operating system.
When it's done, the command service radiusd start did not work, But radiusd -x & worked and the server is well functioning.
What could be the problem?
permissions... -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
On Fri 01 Jun 2007, Peter Nixon wrote:
On Fri 01 Jun 2007, Elie Hani wrote:
Hi;
I have freeradius configured on Fedora Core 6, I tried to configure a backup script where I can copy /etc/raddb folder to another server with the same version and the same operating system.
When it's done, the command service radiusd start did not work, But radiusd -x & worked and the server is well functioning.
What could be the problem?
permissions...
My server synchronisation script looks like: rsync -a /etc/raddb root@remotehost:/etc --delete ssh root@remotehost /etc/init.d/freeradius stop ssh root@remotehost /etc/init.d/freeradius start I run it AFTER I have already verified that the config works on the localhost, and I use ssh keys so that it doesnt ask for the password for each line... If you have different ssl certs on each machine then you will need to modify the rsync line.. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Thanks a lot, it works fine now. Elie Hani -----Original Message----- From: freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org [mailto:freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org] On Behalf Of Peter Nixon Sent: Friday, June 01, 2007 10:47 AM To: FreeRadius users mailing list Subject: Re: Backing up freeradius On Fri 01 Jun 2007, Peter Nixon wrote:
On Fri 01 Jun 2007, Elie Hani wrote:
Hi;
I have freeradius configured on Fedora Core 6, I tried to configure a backup script where I can copy /etc/raddb folder to another server with the same version and the same operating system.
When it's done, the command service radiusd start did not work, But radiusd -x & worked and the server is well functioning.
What could be the problem?
permissions...
My server synchronisation script looks like: rsync -a /etc/raddb root@remotehost:/etc --delete ssh root@remotehost /etc/init.d/freeradius stop ssh root@remotehost /etc/init.d/freeradius start I run it AFTER I have already verified that the config works on the localhost, and I use ssh keys so that it doesnt ask for the password for each line... If you have different ssl certs on each machine then you will need to modify the rsync line.. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Does anyone have a Radiusd.conf they would share? I am trying to get Rodopi's users file it creates to work with freeradius As you knw its in a different format as username Password = password Anyway its a backup radius solution of site, and I don't want it to have to use mssql Trying to be as simple as possible Any help would be appreciated.... Thanks All From: Elie Hani [mailto:ehani@wise.net.lb] To: 'FreeRadius users mailing list' [mailto:freeradius-users@lists.freeradius.org] Sent: Fri, 01 Jun 2007 05:43:36 -0400 Subject: RE: Backing up freeradius Thanks a lot, it works fine now. Elie Hani -----Original Message----- From: freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org [mailto:freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org] On Behalf Of Peter Nixon Sent: Friday, June 01, 2007 10:47 AM To: FreeRadius users mailing list Subject: Re: Backing up freeradius On Fri 01 Jun 2007, Peter Nixon wrote:
On Fri 01 Jun 2007, Elie Hani wrote:
Hi;
I have freeradius configured on Fedora Core 6, I tried to configure a backup script where I can copy /etc/raddb folder to another server with the same version and the same operating system.
When it's done, the command service radiusd start did not work, But radiusd -x & worked and the server is well functioning.
What could be the problem?
permissions...
My server synchronisation script looks like: rsync -a /etc/raddb root@remotehost:/etc --delete ssh root@remotehost /etc/init.d/freeradius stop ssh root@remotehost /etc/init.d/freeradius start I run it AFTER I have already verified that the config works on the localhost, and I use ssh keys so that it doesnt ask for the password for each line... If you have different ssl certs on each machine then you will need to modify the rsync line.. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (5)
-
Alan Dekok -
Elie Hani -
Jeff -
Peter Nixon -
Pilar Sanchez