This is a discussion on Calling Station Id not working within the FreeRADIUS Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------=_NextPart_000_0122_01C5461D.49CFD3C0 Content-Type: text/plain; charset="iso-8859-1&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------=_NextPart_000_0122_01C5461D.49CFD3C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear all, I want to use mac authentication in radius.=20 I am struggling for 2 days for Calling Station Id setup. I am using = pppoe + freeradius + mysql. I have setup dialup admin too. I have = manually entered Calling-Station-Id in = /usr/local/dialup-admin/conf/admin.conf. So now i have the option of = Calling -Station-Id in dialup admin. I created one user providing the = mac address of that user's ethernet card. But it is not getting = authenticated. I am getting the below error. rad_recv: Access-Request packet from host 127.0.0.1:32779, id=3D200, = length=3D69 Service-Type =3D Framed-User Framed-Protocol =3D PPP User-Name =3D "user2" User-Password =3D "user2" NAS-IP-Address =3D 127.0.0.1 NAS-Port =3D 0 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 modcall[authorize]: module "chap" returns noop for request 0 modcall[authorize]: module "mschap" returns noop for request 0 rlm_realm: No '@' in User-Name =3D "user2", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop for request 0 rlm_eap: No EAP-Message, not doing EAP modcall[authorize]: module "eap" returns noop for request 0 users: Matched entry DEFAULT at line 152 users: Matched entry DEFAULT at line 171 users: Matched entry DEFAULT at line 183 modcall[authorize]: module "files" returns ok for request 0 radius_xlat: 'user2' rlm_sql (sql): sql_set_user escaped user --> 'user2' radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE = Username =3D 'user2' ORDER BY id' rlm_sql (sql): Reserving sql socket id: 4 radius_xlat: 'SELECT = radgroupcheck.id,radgroupcheck.GroupName,radgroupc heck.Attribute,radgroup= check.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE = usergroup.Username =3D 'user2' AND usergroup.GroupName =3D = radgroupcheck.GroupName ORDER BY radgroupcheck.id' radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE = Username =3D 'user2' ORDER BY id' radius_xlat: 'SELECT = radgroupreply.id,radgroupreply.GroupName,radgroupr eply.Attribute,radgroup= reply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE = usergroup.Username =3D 'user2' AND usergroup.GroupName =3D = radgroupreply.GroupName ORDER BY radgroupreply.id' rlm_sql (sql): No matching entry in the database for request from user = [user2] rlm_sql (sql): Released sql socket id: 4 modcall[authorize]: module "sql" returns notfound for request 0 rlm_checkval: Could not find item named Calling-Station-Id in request rlm_checkval: Could not find attribute named Calling-Station-Id in check = pairs modcall[authorize]: module "checkval" returns notfound for request 0 I am not getting Calling-Station-Id in the request info. Can anybody = help me. Thanks in Advance. Joel ------=_NextPart_000_0122_01C5461D.49CFD3C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Dear all,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I want to use mac authentication in = radius.=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>I am struggling for 2 days for Calling = Station Id=20 setup. I am using pppoe + freeradius + mysql. I have setup dialup admin = too. I=20 have manually entered Calling-Station-Id in=20 /usr/local/dialup-admin/conf/admin.conf. So now i have the option of = Calling=20 -Station-Id in dialup admin. I created one user providing the mac = address of=20 that user's ethernet card. But it is not getting authenticated. I am = getting the=20 below error.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>rad_recv: Access-Request packet from = host=20 127.0.0.1:32779, id=3D200, = length=3D69<BR>   ; =20 Service-Type =3D = Framed-User<BR> =20 Framed-Protocol =3D PPP<BR> = User-Name =3D=20 "user2"<BR> &nb sp; User-Password =3D=20 "user2"<BR> &nb sp; NAS-IP-Address =3D = 127.0.0.1<BR> & nbsp; NAS-Port =3D = 0<BR> =20 Processing the authorize section of radiusd.conf<BR>modcall: entering = group=20 authorize for request 0<BR> modcall[authorize]: module = "preprocess"=20 returns ok for request 0<BR> modcall[authorize]: module "chap" = returns=20 noop for request 0<BR> modcall[authorize]: module "mschap" returns = noop=20 for request 0<BR> rlm_realm: No <A href=3D"">'@'</A> = in=20 User-Name =3D "user2", looking up realm NULL<BR> = rlm_realm: No=20 such realm "NULL"<BR> modcall[authorize]: module "suffix" returns = noop for=20 request 0<BR> rlm_eap: No EAP-Message, not doing EAP<BR> =20 modcall[authorize]: module "eap" returns noop for request=20 0<BR> users: Matched entry DEFAULT at line=20 152<BR> users: Matched entry DEFAULT at line=20 171<BR> users: Matched entry DEFAULT at line = 183<BR> =20 modcall[authorize]: module "files" returns ok for request=20 0<BR>radius_xlat: 'user2'<BR>rlm_sql (sql): sql_set_user escaped = user=20 --> 'user2'<BR>radius_xlat: 'SELECT = id,UserName,Attribute,Value,op FROM=20 radcheck WHERE Username =3D 'user2' ORDER BY id'<BR>rlm_sql (sql): = Reserving sql=20 socket id: 4<BR>radius_xlat: 'SELECT=20 radgroupcheck.id,radgroupcheck.GroupName,radgroupc heck.Attribute,radgroup= check.Value,radgroupcheck.op =20 FROM radgroupcheck,usergroup WHERE usergroup.Username =3D 'user2' AND=20 usergroup.GroupName =3D radgroupcheck.GroupName ORDER BY=20 radgroupcheck.id'<BR>radius_xlat: 'SELECT = id,UserName,Attribute,Value,op=20 FROM radreply WHERE Username =3D 'user2' ORDER BY = id'<BR>radius_xlat: =20 'SELECT=20 radgroupreply.id,radgroupreply.GroupName,radgroupr eply.Attribute,radgroup= reply.Value,radgroupreply.op =20 FROM radgroupreply,usergroup WHERE usergroup.Username =3D 'user2' AND=20 usergroup.GroupName =3D radgroupreply.GroupName ORDER BY=20 radgroupreply.id'<BR>rlm_sql (sql): No matching entry in the database = for=20 request from user [user2]<BR>rlm_sql (sql): Released sql socket id: = 4<BR> =20 modcall[authorize]: module "sql" returns notfound for request = 0<BR>rlm_checkval:=20 Could not find item named Calling-Station-Id in request<BR>rlm_checkval: = Could=20 not find attribute named Calling-Station-Id in check pairs<BR> =20 modcall[authorize]: module "checkval" returns notfound for request=20 0<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>I am not getting Calling-Station-Id in = the request=20 info. Can anybody help me.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks in Advance.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Joel = </DIV></FONT></FONT></DIV></BODY></HTML> ------=_NextPart_000_0122_01C5461D.49CFD3C0-- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |