Hello,
<div> I am trying to authenticate wifi users for wireless network ... for this i am using freeradius with ldap...</div><div> <span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px; ">When we run radtest on localhost, it is able to get authorised and authenticated</span> .. it works fine but when i try from laptop(windows ) then it rejects the same user...</div>
<div>please let me know what to do ...??</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-weight: bold;">here is the debug output .</span>.</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px; ">Ready to process requests.<br>
rad_recv: Access-Request packet from host <a rel="nofollow" href="http://172.16.1.80:1122/" target="_blank">172.16.1.80:1122</a>, id=0, length=204<br> Message-Authenticator = 0x3f459af06e42a2a0b7cf9c1d80092e31<br> Service-Type = Framed-User <br>
User-Name = "testap"<br> Framed-MTU = 1488<br> Called-Station-Id = "00-15-E9-C9-F3-80:MNIT-DC-AP"<br> Calling-Station-Id = "00-16-6F-7C-DB-2D"<br> NAS-Identifier = "D-link Corp. Access Point" <br>
NAS-Port-Type = Wireless-802.11<br> Connect-Info = "CONNECT 54Mbps 802.11g"<br> EAP-Message = 0x0200000b01746573746170<br> NAS-IP-Address = <a rel="nofollow" href="http://172.16.1.80/" target="_blank">172.16.1.80</a><br>
NAS-Port = 1 <br> NAS-Port-Id = "STA port # 1"<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 '@' in User-Name = "testap", 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 response id 0 length 11<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 153<br> users: Matched entry DEFAULT at line 159<br> users: Matched entry DEFAULT at line 177 <br>
modcall[authorize]: module "files" returns ok for request 0<br>rlm_ldap: - authorize<br>rlm_ldap: performing user authorization for testap<br>radius_xlat: '(uid=testap)'<br>radius_xlat: 'dc=mnit,dc=ac,dc=in' <br>
rlm_ldap: ldap_get_conn: Checking Id: 0<br>rlm_ldap: ldap_get_conn: Got Id: 0<br>rlm_ldap: attempting LDAP reconnection<br>rlm_ldap: (re)connect to <a rel="nofollow" href="http://172.16.1.20:389/" target="_blank">172.16.1.20:389</a>, authentication 0 <br>
rlm_ldap: bind as uid=admin,ou=people,dc=mnit,dc=ac,dc=in/system to <a rel="nofollow" href="http://172.16.1.20:389/" target="_blank">172.16.1.20:389</a><br>rlm_ldap: waiting for bind result ... <br>rlm_ldap: Bind was successful<span class="q"><br>
rlm_ldap: performing search in dc=mnit,dc=ac,dc=in, with filter (uid=testap) <br>rlm_ldap: looking for check items in directory...<br>rlm_ldap: looking for reply items in directory...<br>rlm_ldap: user testap authorized to use remote access<br>
rlm_ldap: ldap_release_conn: Release Id: 0<br></span> modcall[authorize]: module "ldap" returns ok for request 0 <span class="q"><br>rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this.<br>
modcall[authorize]: module "pap" returns noop for request 0<br></span>modcall: leaving group authorize (returns updated) for request 0 <span class="q"><br> rad_check_password: Found Auth-Type ldap<br></span><span class="q">auth: type "LDAP"<br>
Processing the authenticate section of radiusd.conf<br>modcall: entering group LDAP for request 0 <br>rlm_ldap: - authenticate<br>rlm_ldap: <span style="font-weight: bold; ">Attribute "User-Password" is required for authentication</span>.<br>
modcall[authenticate]: module "ldap" returns invalid for request 0<br></span>modcall: leaving group LDAP (returns invalid) for request 0 <span class="q"><br>auth: Failed to validate the user.<br></span>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 0 to <a rel="nofollow" href="http://172.16.1.80/" target="_blank">172.16.1.80 </a>port 1122<br>Waking up in 4 seconds...<br>--- Walking the entire request list --- <br>Cleaning up request 0 ID 0 with timestamp 46b1b8cb<br>
Nothing to do. Sleeping until we see a request.<br></span></div>