Having a bit of trouble with the setup on of MYSQL with Freeradius. 
I am able to test these accounts using DA's check password tool so I don't
believe I have the wrong password.
Where I seem to be missing some configuration is in the radiusd.conf file
with regards to the auth: type . I cant for the life of me find where the
setting would be to get radiusd to use mysql to check passwords. 

Please can someone point me in the right direction - I have reviewed most
Free-radius mysql faq docs and havent see this particular error. 
Any help would be greatly appreciated - please review the debug below -
everything seems fine until the auth: type local line.



rad_recv: Access-Request packet from host 10.149.204.32:2293, id=6,
length=46
        User-Name = "Andrew"
        User-Password = "removed"
  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 = "Andrew", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
radius_xlat:  'Andrew'
rlm_sql (sql): sql_set_user escaped user --> 'Andrew'
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE
Username = 'Andrew' ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 4
radius_xlat:  'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupche
ck.Value,radgroupcheck.op  FROM radgroupcheck,usergroup WHERE
usergroup.Username = 'Andrew' AND usergroup.GroupName =
radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE
Username = 'Andrew' ORDER BY id'
radius_xlat:  'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrouprep
ly.Value,radgroupreply.op  FROM radgroupreply,usergroup WHERE
usergroup.Username = 'Andrew' 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 0
modcall: group authorize returns ok for request 0
auth: type Local
auth: user supplied User-Password does NOT match local User-Password
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 6 to 10.149.204.32:2293
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 6 with timestamp 4182b32c


Thanks,
Andrew

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to