<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Check on your AP, client.conf and naslist<br><div> </div>==================================================<div> </div><div>Benjamin K. Eshun<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Message d'origine ----<br>De : Govardhana K N <govardhan.nagarajaiah@gmail.com><br>À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org><br>Envoyé le : Lundi, 16 Juillet 2007, 13h28mn 28s<br>Objet : How to configure EAP Identity in 1.1.3<br><br>I changed it but the same error is still coming.<br><br>
<div><span class="gmail_quote">On 7/16/07, <b class="gmail_sendername">Eshun Benjamin</b> <<a rel="nofollow" target="_blank" href="mailto:bkeshun@yahoo.fr">bkeshun@yahoo.fr</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">You have misconfigured the Nas-Identifier <br><br>> govardhana Nas-Identifier == nas, Nas-Port-Type == 15<br><br>You have NAS-Identifier = "jrcnas"
<div> </div>==================================================
<div> </div>
<div>Benjamin K. Eshun
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><br><br>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">----- Message d'origine ----<br>De : Govardhana K N <<a rel="nofollow" target="_blank" href="mailto:govardhan.nagarajaiah@gmail.com">
govardhan.nagarajaiah@gmail.com</a>><br>À : FreeRadius <<a rel="nofollow" target="_blank" href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org
</a>><br>Envoyé le : Lundi, 16 Juillet 2007, 12h24mn 09s<br>Objet : How to configure EAP Identity in 1.1.3
<div><span class="q" id="q_113cec5c5cd2953f_1"><br><br>
<div>Hi,</div>
<div> </div>
<div>I was trying to configure FreeRadius server with EAP authentication. AS mentioned in "eap.conf", I didn't change the Auth-Type, but I was sending a EAP message, and Message-Authenticator attributes in Access-Request. When i tried sending an Access-Request with EAP-Message, I got the following error "rlm_eap: Identity Unknown, authentication failed".
</div>
<div> </div>
<div>How to configure the Identity for EAP?</div>
<div> </div>
<div>debug log from server:</div>
<div>---------------------------------</div>
<p>Starting - reading configuration files ...<br>reread_config: reading radiusd.conf<br>Config: including file: /etc/freeradius/proxy.conf<br>Config: including file: /etc/freeradius/clients.conf<br>Config: including file: /etc/freeradius/snmp.conf
<br>Config: including file: /etc/freeradius/eap.conf<br>Config: including file: /etc/freeradius/sql.conf<br> main: prefix = "/usr"<br> main: localstatedir = "/var"<br> main: logdir = "/var/log/freeradius"
<br> main: libdir = "/usr/lib/freeradius"<br> main: radacctdir = "/var/log/freeradius/radacct"<br> main: hostname_lookups = no<br> main: max_request_time = 30<br> main: cleanup_delay = 5<br> main: max_requests = 1024
<br> main: delete_blocked_requests = 0<br> main: port = 1812<br> main: allow_core_dumps = no<br> main: log_stripped_names = yes<br> main: log_file = "/var/log/freeradius/radius.log"<br> main: log_auth = no<br> main: log_auth_badpass = no
<br> main: log_auth_goodpass = no<br> main: pidfile = "/var/run/freeradius/freeradius.pid"<br> main: bind_address = <a rel="nofollow" target="_blank" href="http://127.0.0.1/">
127.0.0.1</a> IP address [<a rel="nofollow" target="_blank" href="http://127.0.0.1/">127.0.0.1</a>]<br> main: user = "freerad"<br> main: group = "freerad"
<br> main: usercollide = no<br> main: lower_user = "no"<br> main: lower_pass = "no"<br> main: nospace_user = "no"<br> main: nospace_pass = "no" <br> main: checkrad = "/usr/sbin/checkrad"
<br> main: proxy_requests = no<br> proxy: retry_delay = 5<br> proxy: retry_count = 3<br> proxy: synchronous = no<br> proxy: default_fallback = yes<br> proxy: dead_time = 120 <br> proxy: post_proxy_authorize = no<br> proxy: wake_all_if_all_dead = no
<br> security: max_attributes = 200<br> security: reject_delay = 1<br> security: status_server = no<br> main: debug_level = 0<br>read_config_files: reading dictionary <br>read_config_files: reading naslist<br>Using deprecated naslist file. Support for this will go away soon.
<br>read_config_files: reading clients<br>read_config_files: reading realms<br>radiusd: entering modules setup <br>Module: Library search path is /usr/lib/freeradius<br>Module: Loaded exec<br> exec: wait = no<br> exec: program = "(null)"
<br> exec: input_pairs = "request"<br> exec: output_pairs = "(null)" <br> exec: packet_type = "(null)"<br>Module: Instantiated exec (exec)<br>Module: Loaded expr<br>Module: Instantiated expr (expr)
<br>Module: Loaded PAP<br> pap: encryption_scheme = "crypt"<br>Module: Instantiated pap (pap) <br>Module: Loaded CHAP<br>Module: Instantiated chap (chap)<br>Module: Loaded MS-CHAP<br> mschap: use_mppe = yes<br> mschap: require_encryption = no
<br> mschap: require_strong = no<br> mschap: with_ntdomain_hack = no<br> mschap: passwd = "(null)" <br> mschap: ntlm_auth = "(null)"<br>Module: Instantiated mschap (mschap)<br>Module: Loaded System<br>
unix: cache = no<br> unix: passwd = "/etc/passwd"<br> unix: shadow = "/etc/shadow"<br> unix: group = "/etc/group" <br> unix: radwtmp = "/var/log/freeradius/radwtmp"<br> unix: usegroup = no
<br> unix: cache_reload = 600<br>Module: Instantiated unix (unix)<br>Module: Loaded eap<br> eap: default_eap_type = "md5"<br> eap: timer_expire = 60 <br> eap: ignore_unknown_eap_types = no<br> eap: cisco_accounting_username_bug = no
<br>rlm_eap: Loaded and initialized type md5<br>rlm_eap: Loaded and initialized type leap<br> gtc: challenge = "Password: "<br> gtc: auth_type = "PAP" <br>rlm_eap: Loaded and initialized type gtc<br> mschapv2: with_ntdomain_hack = no
<br>rlm_eap: Loaded and initialized type mschapv2<br>Module: Instantiated eap (eap)<br>Module: Loaded preprocess<br> preprocess: huntgroups = "/etc/freeradius/huntgroups" <br> preprocess: hints = "/etc/freeradius/hints"
<br> preprocess: with_ascend_hack = no<br> preprocess: ascend_channels_per_line = 23<br> preprocess: with_ntdomain_hack = no<br> preprocess: with_specialix_jetstream_hack = no <br> preprocess: with_cisco_vsa_hack = no<br>
preprocess: with_alvarion_vsa_hack = no<br>Module: Instantiated preprocess (preprocess)<br>Module: Loaded realm<br> realm: format = "suffix"<br> realm: delimiter = "@" <br> realm: ignore_default = no<br>
realm: ignore_null = no<br>Module: Instantiated realm (suffix)<br>Module: Loaded files<br> files: usersfile = "/etc/freeradius/users"<br> files: acctusersfile = "/etc/freeradius/acct_users" <br> files: preproxy_usersfile = "/etc/freeradius/preproxy_users"
<br> files: compat = "no"<br>Module: Instantiated files (files)<br>Module: Loaded Acct-Unique-Session-Id<br> acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
<br>Module: Instantiated acct_unique (acct_unique)<br>Module: Loaded detail<br> detail: detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"<br> detail: detailperm = 384<br> detail: dirperm = 493
<br> detail: locking = no<br>Module: Instantiated detail (detail)<br>Module: Loaded radutmp<br> radutmp: filename = "/var/log/freeradius/radutmp"<br> radutmp: username = "%{User-Name}"<br> radutmp: case_sensitive = yes
<br> radutmp: check_with_nas = yes<br> radutmp: perm = 384<br> radutmp: callerid = yes<br>Module: Instantiated radutmp (radutmp)<br>Listening on authentication <a rel="nofollow" target="_blank" href="http://127.0.0.1:1812/">
127.0.0.1:1812</a><br>Listening on accounting <a rel="nofollow" target="_blank" href="http://127.0.0.1:1813/">127.0.0.1:1813</a><br>Ready to process requests.<br>rad_recv: Access-Request packet from host
<a rel="nofollow" target="_blank" href="http://127.0.0.1:32813/">127.0.0.1:32813</a>, id=179, length=95<br> User-Name = "jrc" <br> NAS-Identifier = "jrcnas"
<br> NAS-Port-Type = Ethernet<br> CUI = "0"<br> Service-Type = Framed-User<br> Framed-MTU = 1400<br> Calling-Station-Id = "1:1:1:1:1:1" <br> EAP-Message = 0x01100008016a7263
<br> Message-Authenticator = 0x64c5851b699cd2c027877bbb94fe7f8b<br> Processing the authorize section of radiusd.conf<br>modcall: entering group authorize for request 0<br> modcall[authorize]: module "preprocess" returns ok for request 0
<br> modcall[authorize]: module "chap" returns noop for request 0<br> modcall[authorize]: module "mschap" returns noop for request 0 <br> rlm_realm: No <a rel="nofollow" target="_blank" href="mailto:%27@%27">
'@'</a> in User-Name = "jrc", looking up realm NULL<br> rlm_realm: No such realm "NULL"<br> modcall[authorize]: module "suffix" returns noop for request 0 <br> rlm_eap: EAP packet type request id 16 length 8
<br> rlm_eap: No EAP Start, assuming it's an on-going EAP conversation<br> modcall[authorize]: module "eap" returns updated for request 0<br> users: Matched entry DEFAULT at line 152 <br> users: Matched entry jrc at line 178
<br> modcall[authorize]: module "files" returns ok for request 0<br>modcall: leaving group authorize (returns updated) for request 0<br> rad_check_password: Found Auth-Type EAP <br>auth: type "EAP"<br>
Processing the authenticate section of radiusd.conf<br>modcall: entering group authenticate for request 0<br>rlm_eap: Identity Unknown, authentication failed<br> rlm_eap: Failed in handler <br> modcall[authenticate]: module "eap" returns invalid for request 0
<br>modcall: leaving group authenticate (returns invalid) for request 0<br>auth: Failed to validate the user.<br>Delaying request 0 for 1 seconds <br>Finished request 0<br>Going to the next request<br>--- Walking the entire request list ---
<br>Waking up in 1 seconds...<br>--- Walking the entire request list ---<br>Waking up in 1 seconds...<br>--- Walking the entire request list --- <br>Sending Access-Reject of id 179 to <a rel="nofollow" target="_blank" href="http://127.0.0.1/">
127.0.0.1</a> port 32813<br>Waking up in 4 seconds...<br>--- Walking the entire request list ---<br>Cleaning up request 0 ID 179 with timestamp 469b9233<br>Nothing to do. Sleeping until we see a request.</p>
<p> </p>
<div>debug log from Client:</div>
<div>-------------------------------------</div>
<p>cheux301:/home/govardhana# radeapclient -x localhost auth jrcsecret <access-request</p>
<p>+++> About to send encoded packet:<br> User-Name = "jrc"<br> NAS-Identifier = "jrcnas"<br> NAS-Port-Type = Ethernet<br> CUI = "0"<br> Service-Type = Framed-User
<br> Framed-MTU = 1400<br> Calling-Station-Id = "1:1:1:1:1:1"<br> EAP-Message = 0x01100008016a7263<br> Message-Authenticator = 0x00<br>Sending Access-Request of id 179 to <a rel="nofollow" target="_blank" href="http://127.0.0.1/">
127.0.0.1</a> port 1812<br> User-Name = "jrc"<br> NAS-Identifier = "jrcnas"<br> NAS-Port-Type = Ethernet<br> CUI = "0"<br> Service-Type = Framed-User<br> Framed-MTU = 1400
<br> Calling-Station-Id = "1:1:1:1:1:1"<br> EAP-Message = 0x01100008016a7263<br> Message-Authenticator = 0x00000000000000000000000000000000<br>rad_recv: Access-Reject packet from host <a rel="nofollow" target="_blank" href="http://127.0.0.1:1812/">
127.0.0.1:1812</a>, id=179, length=20<br>rlm_eap: EAP-Message not found<br><+++ EAP decoded packet:<br></p>
<p> </p>
<div>Thanks & Regards,</div>
<div>Govardhana K N</div>
<div> </div>
<div> </div>
<div><br clear="all"><br>-- <br>With Regards,<br>Govardhana K N </div></span></div>
<div>- <br>List info/subscribe/unsubscribe? See <a rel="nofollow" target="_blank" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></div>
</div><span class="ad"><br></span></div></div></div><span class="ad"><br>
<hr size="1">
Ne gardez plus qu'une seule adresse mail ! <a rel="nofollow" target="_blank" href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail </span></div><br>-
<br>List info/subscribe/unsubscribe? See <a rel="nofollow" target="_blank" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>With Regards,<br>Govardhana K N
<div>- <br>List info/subscribe/unsubscribe? See <a target="_blank" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></div></div><br></div></div></div><br>
<hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.</body></html>