> First run in debug (radiusd -X), that should tell you whats wrong.  If you
> can't figure it out then, post your debug info and relevant config to the
> list.
>
This is what freeradius returns in debug mode

rad_recv: Access-Request packet from host 192.168.1.175:1025, id=4,
length=141
        User-Name = "user2"
        User-Password = "pass2"
        NAS-Port = 0
        Service-Type = Login-User
        Acct-Session-Id = "08000003"
        Called-Station-Id = "00-20-A6-49-EB-C2"
        Calling-Station-Id = "08-00-46-E9-63-60"
        Nomadix-Logoff-URL = "http://1.1.1.1";
        NAS-Identifier = "AP2500"
        Framed-IP-Address = 10.0.0.14
  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 = "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 DEFAULT at 152
  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 = 'user2' 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 = 'user2' AND usergroup.GroupName =
radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE
Username = 'user2' ORDER BY id'
radius_xlat:  'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrouprep
ly.Value,radgroupreply.op  FROM radgroupreply,usergroup WHERE
usergroup.Username = 'user2' 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
  rad_check_password:  Found Auth-Type System
auth: type "System"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
  modcall[authenticate]: module "unix" returns notfound for request 0
modcall: group authenticate returns notfound for request 0
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
Sending Access-Reject of id 4 to 192.168.1.175:1025



Thanks

B.Guthrie


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

Reply via email to