(RADIATOR) Removing admin users
Hugh Irvine
hugh at open.com.au
Wed Aug 15 19:31:31 CDT 2001
Hello Griff -
Try this:
<Handler User-Name = admin, Request-Type = Accounting-Request>
.....
</Handler>
<Handler Request-Type = Accounting-Request>
......
</Handler>
hth
Hugh
On Thursday 16 August 2001 04:24, Griff Hamlin wrote:
> 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.
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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