(RADIATOR) AcctLogFilename in AuthBy's

Hugh Irvine hugh at open.com.au
Wed Jul 18 17:40:43 CDT 2001


Hello Viraj -

On Thursday 19 July 2001 00:22, Viraj Alankar wrote:
> Hello,
>
>         We are implementing many AuthBy's in Handlers. Currently, I believe
> AcctLogFilename can only be specified at the Handler level. However, what
> we are trying to do is have different AuthBy's have different
> AcctLogFilename's. Is this possible? It seems so when using SQL accounting,
> since the accounting is part of the AuthBy, but not when doing raw file
> accounting.
>

The only way to do this is with seperate Handlers for each accounting stream 
and use the Class attribute to select which one to use.

Something like this:

# define AuthBy clauses

<AuthBy .....>
	Identifier SomeThing
	.....
	AddToReply Class = SomeThing
</AuthBy>

<AuthBy .....>
	Identifier AnotherThing
	.....
	AddToReply Class = AnotherThing
</AuthBy>

# define Handlers for accounting

<Handler Request-Type = Accounting-Request, Class = SomeThing>
	AuthBy SomeThing
	AcctLogFilename %L/SomeThing.detail
</Handler>

<Handler Request-Type = Accounting-Request, Class = AnotherThing>
	AuthBy AnotherThing
	AcctLogFilename %L/AnotherThing.detail
</Handler>

# define Handlers for authentication

<Handler .....>
	.....
</Handler>

......


hth

Hugh


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