I would like to add extra stuff to the account file that is generated by
Radiator using the AcctLogFileName directive. For example, the accounting
file might have the following in it:
Tue Oct 26 00:30:13 1999
User-Name = "jdoe"
Client-Id = 192.192.192.192
Acct-Status-Type = Start
Acct-Session-Id = "17694735"
Acct-Authentic = RADIUS
Service-Type = Framed-User
<and so forth>
I want to add a couple new attribute pairs to this output, so it would look
more like the following:
Tue Oct 26 00:30:13 1999
User-Name = "jdoe"
My-Item-1 = "xxxxxx" <======== New attribute
My-Item-2 = "xxxxxx" <======== New attribute
Client-Id = 192.192.192.192
Acct-Status-Type = Start
Acct-Session-Id = "17694735"
Acct-Authentic = RADIUS
Service-Type = Framed-User
<and so forth>
I am not sure how to do this. I tried calling "$user->get_reply->add_attr",
but it complains in the log file saying that the attribute doesn't exist.
Any help would be greatly appreciated! :-)
Thanks!
Scott
--
+-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
Scott W. Adkins http://www.cns.ohiou.edu/~sadkins/
UNIX Systems Engineer mailto:[EMAIL PROTECTED]
ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
CNS, HDL Center, Suite 301, Ohio University, Athens, OH 45701-2979
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.