Hi,
I just started using free radius. I was trying to run the test cases, to check if the configuration done
by me is correct.

I have the following error information, Kindly help me.

I am getting the following messages for the radiusd -X started.
I am unable to locate what went wrong?
[/usr/local/etc/raddb/users]:177 WARNING! Check item "EAP-Sim-KC2" ?found in reply item list for user "eapsim". ?This attribute MUST go on the first line with the other check items
[/usr/local/etc/raddb/users]:177 WARNING! Check item "EAP-Sim-Rand3" ?found in reply item list for user "eapsim". ?This attribute MUST go on the first line with the other check items
[/usr/local/etc/raddb/users]:177 WARNING! Check item "EAP-Sim-SRES3" ?found in reply item list for user "eapsim". ?This attribute MUST go on the first line with the other check items
[/usr/local/etc/raddb/users]:177 WARNING! Check item "EAP-Sim-KC3" ?found in reply item list for user "eapsim". ?This attribute MUST go on the first line with the other check items
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"


I have made the following configuration in the users file.
eapsim         Auth-Type := EAP, Autz-Type:=EAP, EAP-Type := SIM
        EAP-Sim-Rand1 = 0xabcd1234abcd1234abcd1234abcd1234,
        EAP-Sim-SRES1 = 0x1234abcd,
        EAP-Sim-KC1 = 0x0011223344556677,
        EAP-Sim-Rand2 = 0xbcd1234abcd1234abcd1234abcd1234a,
        EAP-Sim-SRES2 = 0x234abcd1,
        EAP-Sim-KC2 = 0x1021324354657687,
        EAP-Sim-Rand3 = 0xcd1234abcd1234abcd1234abcd1234ab,
        EAP-Sim-SRES3 = 0x34abcd12,
        EAP-Sim-KC3 = 0x30415263748596a7

and ran the test eapsim-03.
I am getting the following error message.

  rlm_eap: Underlying EAP-Type set EAP ID to 0
rlm_eap: reply code 0 is unknown, Rejecting the request.
  rlm_eap: Freeing handler
  modcall[authenticate]: module "eap" returns reject for request 0
modcall: group authenticate returns reject for request 0
auth: Failed to validate the user.

When the packet is sent, using the test script, I have verified
the triplets with the configuration of triplets in the users file.
They are the same. I am not sure why there is auth failure. Has looked out based on the error messages in the code. Haven't gone much in to the code yet.

Kindly tell me, is there any thing wrong with the configuration or some thing else.
How should I make eap-sim test work?

regards
Suresh





Reply via email to