Re: EAP-MD5 Authentication problem
Hello!!! I don't know why the 'radeapclient -s -xx 127.0.0.1 auth testing123 <req.txt' command don't authenticate whith radiusd. The req.txt file contains: User-Name = "test" User-Password = "password" EAP-MD5-Password = "password" NAS-IP-Address = 127.0.0.1 NAS-Port = 10 EAP-Code = Response Called-Station-Id = "00-06-25-57-18-B6" Calling-Station-Id = "00-06-23-27-38-E6" EAP-Id = 210 EAP-Type-Identity = "test" Message-Authenticator = 0x0 -------------------------------------------------------------------- the radius.conf file contain: modules { ... eap { default_eap_type = md5 md5 { } ... } ... } authorize { ... eap } authenticate { eap } the eap.conf file contain: eap { default_eap_type = md5 md5 { } } the users file contain: "test" Auth-Type := EAP, User-Password == "password" Reply-Message = "Hello, %u" Where is the error ? Please. Bye!
Try moving your entry fpr user way up in the users file. I had the same problem. Then i moved my user after the first DEFAULT entry and it worked. I think it has to do with some Checked attribute.(Sorry, i don't have access to my machine right now. i am on vacation. I can not give more clear answer than this).
From: Marco Spiga <mspiga3@alice.it> Reply-To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> To: freeradius-users@lists.freeradius.org Subject: Re: EAP-MD5 Authentication problem Date: Wed, 28 Dec 2005 09:56:37 +0100
Hello!!!
I don't know why the 'radeapclient -s -xx 127.0.0.1 auth testing123 <req.txt' command don't authenticate whith radiusd. The req.txt file contains:
User-Name = "test" User-Password = "password" EAP-MD5-Password = "password" NAS-IP-Address = 127.0.0.1 NAS-Port = 10 EAP-Code = Response Called-Station-Id = "00-06-25-57-18-B6" Calling-Station-Id = "00-06-23-27-38-E6" EAP-Id = 210 EAP-Type-Identity = "test" Message-Authenticator = 0x0
--------------------------------------------------------------------
the radius.conf file contain:
modules { ... eap { default_eap_type = md5 md5 { } ... } ... } authorize { ... eap } authenticate { eap }
the eap.conf file contain:
eap { default_eap_type = md5 md5 { } }
the users file contain:
"test" Auth-Type := EAP, User-Password == "password" Reply-Message = "Hello, %u"
Where is the error ? Please.
Bye! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Wed, Dec 28, 2005 at 12:37:00PM +0000, Anup Parkhi wrote:
From: "Anup Parkhi" <anup_parkhi@hotmail.com> To: freeradius-users@lists.freeradius.org Date: Wed, 28 Dec 2005 12:37:00 +0000 Subject: Re: EAP-MD5 Authentication problem
Try moving your entry fpr user way up in the users file. I had the same problem. Then i moved my user after the first DEFAULT entry and it worked. I think it has to do with some Checked attribute.(Sorry, i don't have access to my machine right now. i am on vacation. I can not give more clear answer than this).
Thank for your interesting Anup. I have tried, but it don't work. I attend trusting your re-enter from the vacation. Bye Marco
From: Marco Spiga <mspiga3@alice.it> Reply-To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> To: freeradius-users@lists.freeradius.org Subject: Re: EAP-MD5 Authentication problem Date: Wed, 28 Dec 2005 09:56:37 +0100
Hello!!!
I don't know why the 'radeapclient -s -xx 127.0.0.1 auth testing123 <req.txt' command don't authenticate whith radiusd. The req.txt file contains:
User-Name = "test" User-Password = "password" EAP-MD5-Password = "password" NAS-IP-Address = 127.0.0.1 NAS-Port = 10 EAP-Code = Response Called-Station-Id = "00-06-25-57-18-B6" Calling-Station-Id = "00-06-23-27-38-E6" EAP-Id = 210 EAP-Type-Identity = "test" Message-Authenticator = 0x0
--------------------------------------------------------------------
the radius.conf file contain:
modules { ... eap { default_eap_type = md5 md5 { } ... } ... } authorize { ... eap } authenticate { eap }
the eap.conf file contain:
eap { default_eap_type = md5 md5 { } }
the users file contain:
"test" Auth-Type := EAP, User-Password == "password" Reply-Message = "Hello, %u"
Where is the error ? Please.
Bye! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
---fine del testo--- -- !!!!! Messaggio da Marco !!!!!
Marco Spiga <mspiga3@alice.it> wrote:
the users file contain:
"test" Auth-Type := EAP, User-Password == "password"
Use ':=' for the password, not '=='. The debug log would show that it's not matching that entry. Once you make this change, it *will* show it's matching that entry. Alan DeKok.
A row like this? "test" Auth-Type := EAP, User-Password := "password" Reply-Message = "Hello, %u" Still it does not work :-(( And I also have tried to write "test" Auth-Type == EAP, User-Password := "password" Reply-Message = "Hello, %u" only to make an other attempt --------------------------- Another info: FreeRADIUS Version 1.0.4 over FC4 --------------------------- Bye Marco On Wed, Dec 28, 2005 at 12:02:58PM -0500, Alan DeKok wrote:
From: "Alan DeKok" <aland@ox.org> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Date: Wed, 28 Dec 2005 12:02:58 -0500 Subject: Re: EAP-MD5 Authentication problem
Marco Spiga <mspiga3@alice.it> wrote:
the users file contain:
"test" Auth-Type := EAP, User-Password == "password"
Use ':=' for the password, not '=='.
The debug log would show that it's not matching that entry. Once you make this change, it *will* show it's matching that entry.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html ---fine del testo---
-- !!!!! Messaggio da Marco !!!!!
participants (3)
-
Alan DeKok -
Anup Parkhi -
Marco Spiga