From: Ranjeet K. <ran...@az...> - 2006-09-08 05:54:55
|
Hi, I installed phpradmin. I am getting authentication problem. When I checked with command "radiusd -Xy", it shows the below mentioned things. Here username/password is ranjeet/ranjeet. You can see that it passed with mysql authentication but it mentioned auth: type "System" then it tries with UNIX authentication where it fails. I think it is a problem with freeradius configuration. Can anyone send me sample freeradius config which works well with phpradmin? Please help me in solving this issue. Below is the debug message: - =0D modcall[authorize]: module "files" returns ok for request 0 radius_xlat: 'ranjeet' rlm_sql (sql): sql_set_user escaped user --> 'ranjeet' radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username =3D 'ranjeet' ORDER BY id' rlm_sql (sql): Reserving sql socket id: 3 radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgrou pcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username =3D 'ranjeet' AND usergroup.GroupName =3D radgroupcheck.GroupName ORDER BY radgroupcheck.id' radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username =3D 'ranjeet' ORDER BY id' radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrou preply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username =3D 'ranjeet' AND usergroup.GroupName =3D radgroupreply.GroupName ORDER BY radgroupreply.id' rlm_sql (sql): Released sql socket id: 3 modcall[authorize]: module "sql" returns ok for request 0 modcall: group authorize returns ok for request 0 rad_check_password: Found Auth-Type System auth: type "System" Processing the authenticate section of radiusd.conf modcall: entering group authenticate for request 0 rlm_unix: [ranjeet]: invalid password modcall[authenticate]: module "unix" returns reject for request 0 modcall: group authenticate returns reject for request 0 auth: Failed to validate the user. Login incorrect: [ranjeet/ranjeet] (from client ap port 0 cli async) =0D =0D Thanks, Ranjeet =0D The information contained in, or attached to, this e-mail, contains= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and is subject to legal= privilege. If you have received this e-mail in error you should notify the= sender immediately by reply e-mail, delete the message from your system= and notify your system manager. Please do not copy it for any purpose, or= disclose its contents to any other person. The views or opinions presented= in this e-mail are solely those of the author and do not necessarily= represent those of the company. The recipient should check this e-mail and= any attachments for the presence of viruses. The company accepts no= liability for any damage caused, directly or indirectly, by any virus= transmitted in this email. www.aztecsoft.com |