(RADIATOR) AcctLogFileFormat

William Hernandez whr at essnet.com
Thu Nov 1 15:53:20 CST 2001


Hello everyone,

I have the following in radius.cfg:
        AcctLogFileFormat \
                %U \
                %{NAS-IP-Address} \
                %{NAS-Identifier} \
                %{Acct-Status-Type} \
                %{Acct-Session-Id} \
                %{Acct-Delay-Time} \
                %{Acct-Authentic} \
                %{Service-Type} \
                %{NAS-Port-Type} \
                %{NAS-Port} \
                %{USR-Modem-Training-Time} \
                %{USR-Interface-Index} \
                %{Chassis-Call-Slot} \
                %{Chassis-Call-Span} \
                %{Chassis-Call-Channel} \
                %{Unauthenticated-Time} \
                %{Calling-Station-Id} \
                %{Called-Station-Id} \
                %{VPN-ID} \
                %{Modulation-Type} \
                %{Simplified-MNP-Levels} \
                %{Simplified-V42bis-Usage} \
                %{Connect-Speed} \
                %{Framed-Protocol} \
                %{Framed-IP-Address} \
                %{VTS-Session-Key} \
                %{Call-Arrived-time} \
                %{Timestamp}

I tested with:
radpwtst -trace -s www.prw.net -user
cummins-pr at prdigital.com -password somepassword -auth_port
1812 -acct_port 1813 -secret somesecret -dictionary
/etc/raddb/dictionary.prw

And I get the following in the accounting detail file:
Thu Nov  1 17:39:17 2001
        User-Name = "cummins-pr.com at prdigital.com"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        Acct-Session-Id = "00001234"
        Acct-Status-Type = Start
        Timestamp = 1004650757

cummins-pr.com 203.63.154.1  Stop 00001234 0  Framed-User Async
1234
      1004650762


The desired change in the accounting detail file was to simply
output the User-Name without the domain, i.e., User-Name =
"cummins-pr.com".

Where did I go wrong?

Thanks in advance,
William

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list