(RADIATOR) Removing admin users

Griff Hamlin griff3 at quik.com
Wed Aug 15 13:24:17 CDT 2001


Hello,

What is the best way within an <AuthBy SQL> or <Handler> section to make
sure that I do not put accounting stops from user 'admin' into my
database. All they do is clutter up what is already a large database. I
currently have the following Handler for Accounting packets:

# Handle all accounting here.
<Handler Request-Type=Accounting-Request>
<AuthBy SQL>
    DBSource    XXXXXXXXXXXX
    DBUsername  XXXXXXXXXXXX
    DBAuth      XXXXXXXXXXX
    AccountingTable dialupusage
    AccountingStopsOnly

    AcctColumnDef username, %U, formatted
    AcctColumnDef session_id, %{Acct-Session-Id}%m-%d, formatted
    AcctColumnDef router_ip, %c, formatted
    AcctColumnDef date, %f-%g-%i %j:%k:%p, formatted
    AcctColumnDef session_time, %{Acct-Session-Time}, formatted
    AcctColumnDef ip_address, %{Framed-IP-Address}, formatted
    AcctColumnDef phone, %{Called-Station-Id}, formatted
    AcctColumnDef terminate_cause, %{Term-Cause}, formatted
  </AuthBy>
</Handler>


Griff Hamlin, III

===
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