Freeradius as a proxy converting EAP to non EAP radius Request

Jacques FOUCHER jacques.foucher at gmail.com
Sun Oct 4 06:18:12 CEST 2009


You will find configure, make and make install results later in this
message.

I was thinking ... Is using virual machines (VMWare Workstation 6.0.2) could
be the problem ?

I am installing a different linux version right now (Fedora), just in case

Jacques

# ./configure | grep -i warn
configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may
not work
configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl
may not work
configure: WARNING: pcap library not found, silently disabling the RADIUS
sniffer.
config.status: WARNING:  ./Make.inc.in seems to ignore the --datarootdir
setting
config.status: WARNING:  ./src/include/build-radpaths-h.in seems to ignore
the --datarootdir setting
configure: WARNING: silently not building rlm_counter.
configure: WARNING: FAILURE: rlm_counter requires:  libgdbm.
configure: WARNING: FAILURE: rlm_dbm requires:  (ndbm.h or gdbm/ndbm.h or
gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat).
configure: WARNING: silently not building rlm_dbm.
configure: WARNING: the TNCS library isn't found!
configure: WARNING: silently not building rlm_eap_tnc.
configure: WARNING: FAILURE: rlm_eap_tnc requires:  -lTNCS.
configure: WARNING: silently not building rlm_eap_ikev2.
configure: WARNING: FAILURE: rlm_eap_ikev2 requires:  libeap-ikev2
EAPIKEv2/connector.h.
configure: WARNING: silently not building rlm_ippool.
configure: WARNING: FAILURE: rlm_ippool requires:  libgdbm.
configure: WARNING: silently not building rlm_pam.
configure: WARNING: FAILURE: rlm_pam requires:  libpam.
Note (probably harmless): No library found for -lperl
configure: WARNING: silently not building rlm_perl.
configure: WARNING: FAILURE: rlm_perl requires:  libperl.so libperl.so.
configure: WARNING: silently not building rlm_python.
configure: WARNING: FAILURE: rlm_python requires:  Python.h libpython2.5.
configure: WARNING: silently not building rlm_sql_iodbc.
configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.
configure: WARNING: MySQL libraries not found. Use
--with-mysql-lib-dir=<path>.
configure: WARNING: MySQL headers not found. Use
--with-mysql-include-dir=<path>.
configure: WARNING: silently not building rlm_sql_mysql.
configure: WARNING: FAILURE: rlm_sql_mysql requires: libmysqlclient_r
mysql.h.
configure: WARNING: silently not building rlm_sql_postgresql.
configure: WARNING: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.
configure: WARNING: oracle headers not found.  Use
--with-oracle-home-dir=<path>.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.
configure: WARNING: silently not building rlm_sql_unixodbc.
configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h.

# make | grep -i warn
rlm_krb5.c: In function 'verify_krb5_tgt':
rlm_krb5.c:104: warning: passing argument 2 of 'krb5_kt_read_service_key'
discards qualifiers from pointer target type
rlm_ldap.c: In function 'read_mappings':
rlm_ldap.c:727: warning: passing argument 1 of 'gettoken' from incompatible
pointer type
rlm_ldap.c: In function 'ldap_connect':
rlm_ldap.c:2312: warning: implicit declaration of function
'ldap_int_tls_config'
rlm_mschap.c: In function 'mschap_detach':
rlm_mschap.c:633: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
rlm_mschap.c: In function 'mschap_authenticate':
rlm_mschap.c:1022: warning: assignment makes integer from pointer without a
cast
otp_rlm.c: In function 'otp_instantiate':
otp_rlm.c:84: warning: pointer targets in passing argument 1 of
'otp_get_random' differ in signedness
otp_rlm.c: In function 'otp_authorize':
otp_rlm.c:246: warning: pointer targets in passing argument 3 of
'otp_gen_state' differ in signedness
otp_rlm.c: In function 'otp_authenticate':
otp_rlm.c:339: warning: pointer targets in passing argument 1 of 'otp_a2x'
differ in signedness
otp_rlm.c:374: warning: pointer targets in passing argument 3 of
'otp_pw_valid' differ in signedness
otp_radstate.c: In function 'otp_gen_state':
otp_radstate.c:145: warning: pointer targets in passing argument 1 of
'otp_x2a' differ in signedness
otp_util.c: In function 'otp_async_challenge':
otp_util.c:63: warning: pointer targets in passing argument 1 of
'otp_get_random' differ in signedness
otp_mppe.c: In function 'otp_mppe':
otp_mppe.c:419: warning: pointer targets in passing argument 1 of 'sprintf'
differ in signedness
otp_mppe.c:421: warning: pointer targets in passing argument 2 of 'pairmake'
differ in signedness
otp_mppe.c:461: warning: pointer targets in passing argument 1 of 'sprintf'
differ in signedness
otp_mppe.c:463: warning: pointer targets in passing argument 2 of 'pairmake'
differ in signedness
rlm_pap.c: In function 'pap_authenticate':
rlm_pap.c:714: warning: pointer targets in passing argument 1 of
'radius_xlat' differ in signedness
rlm_pap.c:719: warning: pointer targets in passing argument 1 of
'fr_hex2bin' differ in signedness
rlm_pap.c:739: warning: pointer targets in passing argument 1 of
'radius_xlat' differ in signedness
rlm_pap.c:744: warning: pointer targets in passing argument 1 of
'fr_hex2bin' differ in signedness
rlm_pap.c:770: warning: pointer targets in passing argument 2 of
'fr_hex2bin' differ in signedness
rlm_policy.c: In function 'policy_instantiate':
rlm_policy.c:103: warning: passing argument 2 of 'rbtree_create' from
incompatible pointer type
rlm_policy.c: In function 'rlm_policy_free_item':
rlm_policy.c:278: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
rlm_policy.c:288: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
parse.c: In function 'parse_named_policy':
parse.c:1535: warning: passing argument 1 of 'rlm_policy_print' from
incompatible pointer type
listen.c: In function 'client_listener_find':
listen.c:129: warning: passing argument 1 of 'listener->print' discards
qualifiers from pointer target type
listen.c:209: warning: assignment discards qualifiers from pointer target
type
In file included from listen.c:1307:
command.c: In function 'command_show_client_config':
command.c:845: warning: passing argument 2 of 'cf_section2file' discards
qualifiers from pointer target type
log.c: In function 'radlog_request':
log.c:387: warning: assignment discards qualifiers from pointer target type
mainconfig.c:391: warning: 'r_mkdir' defined but not used
modcall.c: In function 'modcall':
modcall.c:588: warning: implicit declaration of function 'radius_get_vp'
radiusd.c: In function 'main':
radiusd.c:159: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
radiusd.c:445: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
xlat.c: In function 'xlat_register':
xlat.c:548: warning: passing argument 3 of 'xlat_register' discards
qualifiers from pointer target type
xlat.c:557: warning: passing argument 3 of 'xlat_register' discards
qualifiers from pointer target type
xlat.c:569: warning: passing argument 3 of 'xlat_register' discards
qualifiers from pointer target type
xlat.c:577: warning: passing argument 3 of 'xlat_register' discards
qualifiers from pointer target type
xlat.c:582: warning: passing argument 3 of 'xlat_register' discards
qualifiers from pointer target type
detail.c: In function 'detail_send':
detail.c:175: warning: label 'next' defined but not used
debian:/ajac/freeradius-server-2.1.7#


# make install | grep -i warn
libtool: install: warning: relinking `rlm_acctlog.la'
libtool: install: warning: relinking `rlm_acct_unique.la'
libtool: install: warning: relinking `rlm_always.la'
libtool: install: warning: relinking `rlm_attr_filter.la'
libtool: install: warning: relinking `rlm_attr_rewrite.la'
libtool: install: warning: relinking `rlm_chap.la'
libtool: install: warning: relinking `rlm_checkval.la'
libtool: install: warning: relinking `rlm_copy_packet.la'
libtool: install: warning: relinking `rlm_detail.la'
libtool: install: warning: relinking `rlm_digest.la'
libtool: install: warning: relinking `libfreeradius-eap.la'
libtool: install: warning: relinking `rlm_eap_gtc.la'
libtool: install: warning: relinking `rlm_eap_leap.la'
libtool: install: warning: relinking `rlm_eap_md5.la'
libtool: install: warning: relinking `rlm_eap_mschapv2.la'
libtool: install: warning: relinking `rlm_eap_peap.la'
libtool: install: warning: relinking `rlm_eap_sim.la'
libtool: install: warning: relinking `rlm_eap_tls.la'
libtool: install: warning: relinking `rlm_eap_ttls.la'
libtool: install: warning: relinking `rlm_eap.la'
libtool: install: warning: relinking `rlm_exec.la'
libtool: install: warning: relinking `rlm_expiration.la'
libtool: install: warning: relinking `rlm_expr.la'
libtool: install: warning: relinking `rlm_fastusers.la'
libtool: install: warning: relinking `rlm_files.la'
libtool: install: warning: relinking `rlm_krb5.la'
libtool: install: warning: relinking `rlm_ldap.la'
libtool: install: warning: relinking `rlm_linelog.la'
libtool: install: warning: relinking `rlm_logintime.la'
libtool: install: warning: relinking `rlm_mschap.la'
libtool: install: warning: relinking `rlm_otp.la'
libtool: install: warning: relinking `rlm_pap.la'
libtool: install: warning: relinking `rlm_passwd.la'
libtool: install: warning: relinking `rlm_preprocess.la'
libtool: install: warning: relinking `rlm_radutmp.la'
libtool: install: warning: relinking `rlm_realm.la'
libtool: install: warning: relinking `rlm_sql.la'
libtool: install: warning: relinking `rlm_sqlcounter.la'
libtool: install: warning: relinking `rlm_sqlippool.la'
libtool: install: warning: relinking `rlm_sql_log.la'
libtool: install: warning: relinking `rlm_unix.la'
libtool: install: warning: relinking `rlm_policy.la'
libtool: install: warning: relinking `rlm_dynamic_clients.la'





2009/10/4 John Dennis <jdennis at redhat.com>

> On 10/03/2009 03:37 PM, Jacques FOUCHER wrote:
>
>> Alan, Ivan, and others could help me
>>
>> I reinstalled Debian system and installed new version 2.1.7. Allway the
>> same problem.
>>
>> I think i miss something very basic for you but not for the freeradius
>> beginner I am.
>>
>> That is all what I did :
>> * install last stable debapt-get update
>> apt-get upgrade
>> apt-get install openssh-server
>> apt-get install libcurl4-openssl-dev
>> apt-get install tcpdump
>> apt-get gcc
>> apt-get make*
>>
>> *wget -c
>> ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.7.tar.gz
>> tar xvzf freeradius-server-2.1.7.tar.gz
>> cd freeradius-server-2.1.7
>> ./configure;make;make install*
>>
>>
> Look for warning messages in the output of ./configure. A typical problem
> is not having the development versions of packages installed. configure will
> detect you're missing the required header files and libraries but it won't
> fail, it will just issue a warning. So for instance lets say you don't have
> the openssh developement files installed, the build will run, but you won't
> get a version of freeradius which can do TLS tunnels because configure will
> have detected in your build environment you don't have the necessary support
> for that feature.
>
> --
> John Dennis <jdennis at redhat.com>
>
> Looking to carve out IT costs?
> www.redhat.com/carveoutcosts/
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Jacques FOUCHER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091004/19026f27/attachment.html>


More information about the Freeradius-Users mailing list