rlm_eap_md5: Cleartext-Password is required for EAP-MD5authentication
My running environment is freeraius-2.1.3,The authentication type is EAP/MD5. It's running not well with individual 'user' file.I can't find the problem. My mainly configuration file as follow: IN sites-enabled/default ---------------------- authorize { eap { ok = return } files #sql expiration logintime } authenticate { eap } IN eap.conf ---------------------- eap { default_eap_type = md5 timer_expire = 60 ignore_unknown_eap_types = no max_sessions = 2048 md5 { } } IN users ------------------------ chenyongle Cleartext-Password := "123456" ------------------------------------------ debug information as following: rad_recv: Access-Request packet from host 127.0.0.1 port 43289, id=134, length=260 EAP-Message = 0x0285002004108010475cd7f849537fae81777bc3287f6368656e796f6e676c65 User-Name = "chenyongle@localhost" Prompt = 0x313233343536 Service-Type = Framed-User Framed-MTU = 1400 State = 0xa554770ea5d17374eb266130b8a3c5d8 Message-Authenticator = 0xd3f3ddc1a6813a6862213b0e5bc2fc02 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [suffix] Looking up realm "localhost" for User-Name = "chenyongle@localhost" [suffix] No such realm "localhost" ++[suffix] returns noop ++[files] returns noop [eap] EAP packet type response id 133 length 32 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[unix] returns notfound ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/md5 [eap] processing type md5 rlm_eap_md5: Cleartext-Password is required for EAP-MD5 authentication [eap] Handler failed in EAP/md5 [eap] Failed in EAP select ++[eap] returns invalid Failed to authenticate the user. Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> chenyongle@localhost attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 1 for 1 seconds Going to the next request Waking up in 0.9 seconds. rad_recv: Access-Request packet from host 127.0.0.1 port 43289, id=134, length=260 Waiting to send Access-Reject to client localhost port 43289 - ID: 134 Sending delayed reject for request 1 Sending Access-Reject of id 134 to 127.0.0.1 port 43289 EAP-Message = 0x04850004 Message-Authenticator = 0x00000000000000000000000000000000 -- View this message in context: http://www.nabble.com/rlm_eap_md5%3A-Cleartext-Password-is-required-for-EAP-... Sent from the FreeRadius - User mailing list archive at Nabble.com.
We are receiving your messages. You do not need to post them multiple times. (Posting to a mailing list is never immediate.) (See also the archives: http://lists.freeradius.org/pipermail/freeradius-users/2009-July/date.html ) Have a nice day! Am 15.07.2009 um 09:40 schrieb youler:
My running environment is freeraius-2.1.3,The authentication type is EAP/MD5. It's running not well with individual 'user' file.I can't find the problem. My mainly configuration file as follow:
[...]
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
IN users ------------------------ chenyongle Cleartext-Password := "123456" ------------------------------------------ debug information as following: ... ++[files] returns noop ...
Check if users file you are changing *is* the one server is using. Look at list of included files and see if raddb directory is the one where users file you have changed is. Also check that you haven't mistyped the username. Ivan Kalik Kalik Informatika ISP
Oh! I have found the problem. My username attribute in redius-packet should be the outside NAI; thanks your help. Ivan Kalik wrote:
IN users ------------------------ chenyongle Cleartext-Password := "123456" ------------------------------------------ debug information as following: ... ++[files] returns noop ...
Check if users file you are changing *is* the one server is using. Look at list of included files and see if raddb directory is the one where users file you have changed is. Also check that you haven't mistyped the username.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- View this message in context: http://www.nabble.com/rlm_eap_md5%3A-Cleartext-Password-is-required-for-EAP-... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Oh! I have found the problem. My username attribute in redius-packet should be the outside NAI; thanks your help. Ivan Kalik wrote:
IN users ------------------------ chenyongle Cleartext-Password := "123456" ------------------------------------------ debug information as following: ... ++[files] returns noop ...
Check if users file you are changing *is* the one server is using. Look at list of included files and see if raddb directory is the one where users file you have changed is. Also check that you haven't mistyped the username.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- View this message in context: http://www.nabble.com/rlm_eap_md5%3A-Cleartext-Password-is-required-for-EAP-... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (3)
-
Ivan Kalik -
Nicolas Goutte -
youler