Hi,

    I am using freeradius-snapshot-20040302.tar.gz version. I am getting
error in  EAP-SIM module, I  configured the radiusd.conf to have eap default
as sim module and in users file I have a sim user, as shown below

[EMAIL PROTECTED] Auth-Type := EAP, Autz-Type:= EAP, EAP-Type :=
SIM


and in /etc/simtriplets.dat

[EMAIL PROTECTED],30000000000000000000000000000000,30112233,445566
778899AABB
[EMAIL PROTECTED],31000000000000000000000000000000,31112233,445566
778899AABB
[EMAIL PROTECTED],32000000000000000000000000000000,32112233,445566
778899AABB
[EMAIL PROTECTED],33000000000000000000000000000000,33112233,445566
778899AABB
[EMAIL PROTECTED],34000000000000000000000000000000,34112233,445566
778899AABB
[EMAIL PROTECTED],35000000000000000000000000000000,35112233,445566
778899AABB

When I run the test script client.sh in eapsim-06, I am getting an error

./radiusd: relocation error: /usr/local/SIM/lib/rlm_eap_sim-1.0.0-pre0.so:
undefined symbol: map_eapsim_basictypes


Below I have included the complete log

#/usr/local/SIM/sbin/radiusd -X -A
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/SIM/etc/raddb/proxy.conf
Config:   including file: /usr/local/SIM/etc/raddb/clients.conf
Config:   including file: /usr/local/SIM/etc/raddb/snmp.conf
Config:   including file: /usr/local/SIM/etc/raddb/sql.conf
 main: prefix = "/usr/local/SIM"
 main: localstatedir = "/usr/local/SIM/var"
 main: logdir = "/usr/local/SIM/var/log/radius"
 main: libdir = "/usr/local/SIM/lib"
 main: radacctdir = "/usr/local/SIM/var/log/radius/radacct"
 main: hostname_lookups = no
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/usr/local/SIM/var/log/radius/radius.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/usr/local/SIM/var/run/radiusd/radiusd.pid"
 main: user = "(null)"
 main: group = "(null)"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/local/SIM/sbin/checkrad"
 main: proxy_requests = yes
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = yes
 proxy: wake_all_if_all_dead = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
Using deprecated clients file.  Support for this will go away soon.
read_config_files:  reading realms
Using deprecated realms file.  Support for this will go away soon.
radiusd:  entering modules setup
Module: Library search path is /usr/local/SIM/lib
Module: Loaded exec
 exec: wait = yes
 exec: program = "(null)"
 exec: input_pairs = "request"
 exec: output_pairs = "(null)"
 exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
 pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
 mschap: use_mppe = yes
 mschap: require_encryption = no
 mschap: require_strong = no
 mschap: with_ntdomain_hack = no
 mschap: passwd = "(null)"
 mschap: authtype = "MS-CHAP"
Module: Instantiated mschap (mschap)
Module: Loaded System
 unix: cache = no
 unix: passwd = "(null)"
 unix: shadow = "(null)"
 unix: group = "(null)"
 unix: radwtmp = "/usr/local/SIM/var/log/radius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded eap
 eap: default_eap_type = "sim"
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type sim
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap)
Module: Loaded preprocess
 preprocess: huntgroups = "/usr/local/SIM/etc/raddb/huntgroups"
 preprocess: hints = "/usr/local/SIM/etc/raddb/hints"
 preprocess: with_ascend_hack = no
 preprocess: ascend_channels_per_line = 23
 preprocess: with_ntdomain_hack = no
 preprocess: with_specialix_jetstream_hack = no
 preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
 realm: format = "suffix"
 realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded sim_files
 sim_files: simtriplets = "/etc/simtriplets.dat"
Module: Instantiated sim_files (sim_files)
Module: Loaded files
 files: usersfile = "/usr/local/SIM/etc/raddb/users"
 files: acctusersfile = "/usr/local/SIM/etc/raddb/acct_users"
 files: preproxy_usersfile = "/usr/local/SIM/etc/raddb/preproxy_users"
 files: compat = "no"
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
 detail: detailfile =
"/usr/local/SIM/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
 radutmp: filename = "/usr/local/SIM/var/log/radius/radutmp"
 radutmp: username = "%{User-Name}"
 radutmp: case_sensitive = yes
 radutmp: check_with_nas = yes
 radutmp: perm = 384
 radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on
1814/udp.
Ready to process requests.


rad_recv: Access-Request packet from host 127.0.0.1:32773, id=65, length=89
 User-Name = "232420100000015"
 NAS-IP-Address = 255.255.255.255
 Message-Authenticator = 0x973a6f68c406aaf26aea92393a00ff96
 NAS-Port = 0
 EAP-Message = 0x0240001401323332343230313030303030303135
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  modcall[authorize]: module "chap" returns noop for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
    rlm_realm: No '@' in User-Name = "232420100000015", looking up realm
NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
rlm_sim_files: authorized user/imsi 232420100000015
rlm_sim_files: Adding EAP-Type: eap-sim
  modcall[authorize]: module "sim_files" returns ok for request 0
  rlm_eap: EAP packet type response id 64 length 20
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 0
    users: Matched DEFAULT at 152
  modcall[authorize]: module "files" returns ok for request 0
modcall: group authorize returns updated for request 0
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
  rlm_eap: EAP Identity
  rlm_eap: processing type sim
./radiusd: relocation error: /usr/local/SIM/lib/rlm_eap_sim-1.0.0-pre0.so:
undefined symbol: map_eapsim_basictypes


Can anybody help me in pointing out , where I am going wrong.


Regards
Rajvel


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

Reply via email to