Re: Compilation Problem using EAP/TLS

2003-12-10 Thread garelli
hello,
your snapshot version of freeradius isn't the one who is mentioned in the
HOWTO, and the syntax is different on this new version! I had the same
problem like you, and I tested with the snapshot of the HOWTO. If you use
it, you will see that your errors will diseapear and your TLS tunnel will
work.
But I will be very interessted in which syntax and options which could be
use for new snapshots ?? of course it's not those is in the HOWTO because
I tried so many time whithout results! If someone knows about it?



 (RedHat 6.2)Using the CVS snapshot from 20031208, I configured the
 MakeFile file in src/modules/rlm_eap/types/rlm_eap_tls to match the
 documentation provided by Raymond McKay at
 http://www.impossiblereflex.com/8021x/eap-tls-HOWTO.htm#7.  Nothing
 existed in the MakeFile when I accessed it with pico.  The current text
 is:

 TARGET = rlm_eap_tls
 SRCS = rlm_eap_tls.c eap_tls.c cb.c tls.c mppe_keys.c
 RLM_CFLAGS = $(INCLTDL) -I../.. -I/usr/local/openssl/include
 HEADERS = eap_tls.h
 RLM_INSTALL =
 RLM_LDFLAGS += -L/usr/local/openssl/lib

 RLM_LIBS += -lssl -lcrypto

 $(STATIC_OBJS): $(HEADERS)
 $(DYNAMIC_OBJS): $(HEADERS)

 RLM_DIR=../../
 include ${RLM_DIR}../rules.mak


 I have triple checked that the directories provided
 (/usr/local/openssl/include and lib) are the valid paths to the
 openssl-SNAP installation.  Upon building freeRADIUS, however, when the
 MakeFile is reached, errors occur and the process aborts.

 I have installed freeRADIUS on this machine previously and am planning
 on installing right over the top of the 0.9.3 build so I can use
 PEAP/MSCHAPv2.  Any ideas why this is failing?

 One other tidbit:  Raymond's HOWTO has one check on installation of
 openssl-SNAP-20021027 that libssl.so and libssl.so.0 are sym linked to
 libssl.so.0.9.8 and that libcrypto.so libcrypto.so.0 are sym linked to
 libcrypto.so.0.9.8  What is sym linked?  Libcrypto.so.0.9.8 and
 libssl.so.0.9.8 exist, but libssl.so, libssl.so.0, libcrypto.so, and
 libcrypto.so.0 are not contained with in /lib.

 Perhaps this is my problem?

 Thanks,
 Justin

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



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


Compilation Problem using EAP/TLS

2003-12-09 Thread Justin Bailey
(RedHat 6.2)Using the CVS snapshot from 20031208, I configured the
MakeFile file in src/modules/rlm_eap/types/rlm_eap_tls to match the
documentation provided by Raymond McKay at
http://www.impossiblereflex.com/8021x/eap-tls-HOWTO.htm#7.  Nothing
existed in the MakeFile when I accessed it with pico.  The current text
is:

TARGET = rlm_eap_tls
SRCS = rlm_eap_tls.c eap_tls.c cb.c tls.c mppe_keys.c
RLM_CFLAGS = $(INCLTDL) -I../.. -I/usr/local/openssl/include
HEADERS = eap_tls.h
RLM_INSTALL = 
RLM_LDFLAGS += -L/usr/local/openssl/lib

RLM_LIBS += -lssl -lcrypto

$(STATIC_OBJS): $(HEADERS)
$(DYNAMIC_OBJS): $(HEADERS)

RLM_DIR=../../
include ${RLM_DIR}../rules.mak


I have triple checked that the directories provided
(/usr/local/openssl/include and lib) are the valid paths to the
openssl-SNAP installation.  Upon building freeRADIUS, however, when the
MakeFile is reached, errors occur and the process aborts.

I have installed freeRADIUS on this machine previously and am planning
on installing right over the top of the 0.9.3 build so I can use
PEAP/MSCHAPv2.  Any ideas why this is failing?

One other tidbit:  Raymond's HOWTO has one check on installation of
openssl-SNAP-20021027 that libssl.so and libssl.so.0 are sym linked to
libssl.so.0.9.8 and that libcrypto.so libcrypto.so.0 are sym linked to
libcrypto.so.0.9.8  What is sym linked?  Libcrypto.so.0.9.8 and
libssl.so.0.9.8 exist, but libssl.so, libssl.so.0, libcrypto.so, and
libcrypto.so.0 are not contained with in /lib.

Perhaps this is my problem?

Thanks,
Justin

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