NAS ignoring Access-Accept

Wolfgang Rosenauer wolfgang at rosenauer.org
Mon May 21 23:15:13 CEST 2007


Hugh Messenger wrote:
> Wolfgang Rosenauer <wolfgang at rosenauer.org> said:
>> I ran radiusd -X and saw that freeradius sent an Access-Accept reply to
>> the NAS' ip address and source port.
> 
> Could you post the entire -X log for an example request?

rad_recv: Access-Request packet from host 1.1.1.7:1645, id=166, length=97
        NAS-IP-Address = 1.1.1.1
        NAS-Port = 20010
        NAS-Port-Type = ISDN
        User-Name = "XXXXX"
        Called-Station-Id = "48793"
        Calling-Station-Id = "123456"
        User-Password = "XXXXX"
        Service-Type = Framed-User
        Framed-Protocol = PPP

  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 = "XXXXX", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
radius_xlat:  'XXXXX'
rlm_sql (sql): sql_set_user escaped user --> 'XXXXX'
radius_xlat:  'SELECT id, UserName, Attribute, Value, op           FROM
radcheck           WHERE Username = 'XXXXX'           ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 4
radius_xlat:  'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Val
ue,radgroupcheck.op  FROM radgroupcheck,usergroup WHERE
usergroup.Username = 'XXXXX' AND usergroup.Gr
oupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat:  'SELECT id, UserName, Attribute, Value, op           FROM
radreply           WHERE Usernam
e = 'XXXXX'           ORDER BY id'
radius_xlat:  'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Val
ue,radgroupreply.op  FROM radgroupreply,usergroup WHERE
usergroup.Username = 'XXXXX' AND usergroup.Gr
oupName = radgroupreply.GroupName ORDER BY radgroupreply.id'
rlm_sql (sql): Released sql socket id: 4
  modcall[authorize]: module "sql" returns ok for request 0
  modcall[authorize]: module "pap" returns updated for request 0
modcall: leaving group authorize (returns updated) for request 0
  rad_check_password:  Found Auth-Type pap
auth: type "PAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group PAP for request 0
rlm_pap: login attempt with password XXXXX
rlm_pap: Using CRYPT encryption.
rlm_pap: User authenticated successfully
  modcall[authenticate]: module "pap" returns ok for request 0
modcall: leaving group PAP (returns ok) for request 0
Sending Access-Accept of id 166 to 1.1.1.7 port 1645
Finished request 0



Wolfgang



More information about the Freeradius-Users mailing list