Hello Everyone.
I am trying to configure my SER with freeradius and i followed the document which is available at iptel.org.doc and everything works fine. Now i want to port freeradius to mysql and i have made changces according the tips provided at http://www.frontios.com/freeradius.html , after that freeradius has stated the problems it is working fine with radtest but it is giving problem when i try to run radclient with digest option. here i am giving the radius dump
I have given the following entry in radroupcheck table.
dynamic Auth-Type := Digest
table raddcheck values:
jeeth Password == jeeth
I dont know where i am doing mistake.
Hope some one might have come across this, Please send some tips on configuring SER , freeradius with mysql support.
Thanks in advance
----------------------
rad_recv: Access-Request packet from host 127.0.0.1:32903, id=78, length=141
User-Name = "jeeth@localhost"
Digest-Response = "631d6d73147add2f9e437f59bbc3aeb7"
Digest-Attributes = "\001\013testrealm"
Digest-Attributes = "\002\007jeeth"
Digest-Attributes = "\003\010INVITE"
Digest-Attributes = "\004\025sip:jeeth@localhost"
Digest-Attributes = "\006\005MD5"
Digest-Attributes = "\n\006test"
modcall: entering group authorize for request 25
modcall[authorize]: module "preprocess" returns ok for request 25
modcall[authorize]: module "chap" returns noop for request 25
modcall[authorize]: module "mschap" returns noop for request 25
rlm_realm: Looking up realm "localhost" for User-Name = "jeeth@localhost"
rlm_realm: Found realm "DEFAULT"
rlm_realm: Adding Stripped-User-Name = "jeeth"
rlm_realm: Proxying request from user jeeth to realm DEFAULT
rlm_realm: Adding Realm = "DEFAULT"
rlm_realm: Authentication realm is LOCAL.
modcall[authorize]: module "suffix" returns noop for request 25
radius_xlat: 'jeeth'
rlm_sql (sql): sql_set_user escaped user --> 'jeeth'
radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 'jeeth' ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 4
radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = 'jeeth' ORDER BY id'
radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'
rlm_sql (sql): Released sql socket id: 4
modcall[authorize]: module "sql" returns ok for request 25
modcall: group authorize returns ok for request 25
auth: type Local
auth: No User-Password or CHAP-Password attribute in the request
auth: Failed to validate the user.
------