Hallo, some more information:
$ nm /usr/lib/rlm_eap_sim-1.0.0-pre0.so 00002a3c A _DYNAMIC 00002b44 A _GLOBAL_OFFSET_TABLE_ w _Jv_RegisterClasses 00002a2c d __CTOR_END__ 00002a28 d __CTOR_LIST__ 00002a34 d __DTOR_END__ 00002a30 d __DTOR_LIST__ 00001a24 r __FRAME_END__ 00002a38 d __JCR_END__ 00002a38 d __JCR_LIST__ 00002bc0 A __bss_start w __cxa_finalize@@GLIBC_2.1.3 00001678 t __do_global_ctors_aux 000009b0 t __do_global_dtors_aux 00002ba0 d __dso_handle w __gmon_start__ 00002bc0 A _edata 00002bc4 A _end 000016ac T _fini 00000824 T _init U abort@@GLIBC_2.0 00000a54 t add_reply 0000098c t call_gmon_start 00002bc0 b completed.1 U debug_flag 00001570 t eap_sim_authenticate 00000afc t eap_sim_compose 00000c98 t eap_sim_getchalans 000011bc t eap_sim_initiate 00000e70 t eap_sim_sendchallenge 00000b30 t eap_sim_sendstart 000010cc t eap_sim_sendsuccess 00000ad4 t eap_sim_state_free 00001154 t eap_sim_stateenter U eapsim_calculate_keys U eapsim_checkmac 00000a18 t frame_dummy U free@@GLIBC_2.0 U librad_errstr U log_debug U malloc@@GLIBC_2.0 U map_eapsim_basictypes U memcpy@@GLIBC_2.0 00002ba4 d p.0 U pairadd U paircreate U pairfind U pairmake U pairreplace 0000142c t process_eap_sim_challenge 000012e4 t process_eap_sim_start U puts@@GLIBC_2.0 U rad_assert_fail 00002ba8 D rlm_eap_sim U sprintf@@GLIBC_2.0 U stdout@@GLIBC_2.0 U time@@GLIBC_2.0 U unmap_eapsim_basictypes U vp_printlist Regards, Simeon Am Friday 28 May 2004 15:53 schrieb Simeon Penev: > Hallo, > > i'm using the last cvs copy of radiusd annd i get the following error > message when eap-sim request reaches the freeradius server: > > --------------------------------------LOG START------------------------ > rad_recv: Access-Request packet from host 192.168.192.168:6001, id=1, > length=142 > User-Name = "273017610032803" > NAS-IP-Address = 192.168.192.168 > Called-Station-Id = "00-04-2d-48-6b-1b" > Calling-Station-Id = "00-08-2f-00-a3-66" > NAS-Identifier = "ap" > Framed-MTU = 1400 > NAS-Port-Type = Wireless-802.11 > EAP-Message = 0x0201001401323632303137363130303332383033 > Message-Authenticator = 0x24041a5072d0f678344a0fd3c7cd734e > Processing the authorize section of radiusd.conf > modcall: entering group authorize for request 0 > rlm_realm: No '@' in User-Name = "273017610032803", looking up realm > NULL rlm_realm: Found realm "NULL" > rlm_realm: Proxying request from user 273017610032803 to realm NULL > rlm_realm: Adding Realm = "NULL" > rlm_realm: Authentication realm is LOCAL. > modcall[authorize]: module "mysuffix" returns noop for request 0 > users: Matched DEFAULT at 98 > modcall[authorize]: module "files" returns ok for request 0 > rlm_sim_files: authorized user/imsi 273017610032803 > rlm_sim_files: Adding EAP-Type: eap-sim > modcall[authorize]: module "simtriplets" returns ok for request 0 > modcall: group authorize returns ok for request 0 > rad_check_password: Found Auth-Type EAPSIM > auth: type "EAPSIM" > Processing the authenticate section of radiusd.conf > modcall: entering group Auth-Type for request 0 > rlm_eap: EAP Identity > rlm_eap: processing type sim > radiusd: error while loading shared > libraries: /usr/lib/rlm_eap_sim-1.0.0-pre0.so: undefined symbol: > map_eapsim_basictypes > --------------------------------------LOG END------------------------ > > I found the same problem in the user-list, but no answer. Please refer to > the text below. > > Thank you in advance! > > Regards, > Simeon > > >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,4455 > >66 778899AABB > >[EMAIL PROTECTED],31000000000000000000000000000000,31112233,4455 > >66 778899AABB > >[EMAIL PROTECTED],32000000000000000000000000000000,32112233,4455 > >66 778899AABB > >[EMAIL PROTECTED],33000000000000000000000000000000,33112233,4455 > >66 778899AABB > >[EMAIL PROTECTED],34000000000000000000000000000000,34112233,4455 > >66 778899AABB > >[EMAIL PROTECTED],35000000000000000000000000000000,35112233,4455 > >66 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html