[Users] radius attributes

Terry Robert terryrobert at shaw.ca
Thu Apr 5 02:31:27 CEST 2007


Hi openser,
Following the tutorial on FreeRadius integration (http://www.openser.org/docs/openser-radius-1.0.x.html), I'm seeing accounting packets successfully sent to Radiusd. However, some attributes are missing, notably: UserName, CallingStationId, and CalledStationId.


Radius client dictionary contains:

ATTRIBUTE       User-Name               1       string
ATTRIBUTE       Password                2       string
...
ATTRIBUTE       Called-Station-Id       30      string
ATTRIBUTE       Calling-Station-Id      31      string




Output from 'radiusd -X' shows:

...
Module: Instantiated detail (detail)
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
rad_recv: Accounting-Request packet from host 10.10.90.198:32812, id=10, length=120
        Acct-Status-Type = Start
        Service-Type = IAPP-Register
        Attr-102 = 0x000000c8
        Error-Cause = 1
        Event-Timestamp = "Apr  4 2007 15:10:27 PDT"
        Attr-105 = 0x3937333153495070546167303031
        Attr-104 = 0x3937323853495070546167303131
        Acct-Session-Id = "1-9731 at 10.10.90.51"
        NAS-Port = 5060
        Acct-Delay-Time = 0
        NAS-IP-Address = 10.10.90.198
  Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 0
  modcall[preacct]: module "preprocess" returns noop for request 0
rlm_acct_unique: WARNING: Attribute User-Name was not found in request, unique ID MAY be inconsistent
...


Any tips on how to fix this? Thanks.




More information about the Users mailing list