Hello Steve -
The usual way to do this is with an AuthBy GROUP:
AuthByPolicy ContinueAlways
<AuthBy SQL>
.....
# disable authentication
AuthSelect
# deal with accounting
AccountingTable ACCOUNTING
AcctColumnDef .....
.....
</AuthBy> # use an AuthBy GROUP for authentication
# with a different AuthByPolicy <AuthBy GROUP>
AuthByPolicy ContinueWhileAccept
<AuthBy ...>
.....
</AuthBy>
<AuthBy ...>
....
</AuthBy>
.....
</AuthBy>You can also use different Handlers for authentication and accounting:
# deal with accounting
<Handler Request-Type = Accounting>
.....
</Handler># deal with authentication
<Handler>
......
</Handler>regards
Hugh
On Friday, Oct 17, 2003, at 03:06 Australia/Melbourne, Steven Saner wrote:
Hi:
Is there a easy trick to making an <AuthBy>, specifically an <AuthBy SQL>, clause always return an authentication accept? I can't seem to find a built in configuration parameter to do this. I need something sort of like "IgnoreAuthentication", but accept instead of ignore.
I want to create an <AuthBy SQL> that only does stuff for accounting requests, but I can't use "IgnoreAuthentication" because I need to have the AuthByPolicy in the handlers set to "ContinueWhileAccept".
I am using Radiator 3.6.
Thanks for any advice.
Steve
-- ----------------------------------------------------------------------- ---
Steven Saner <[EMAIL PROTECTED]>
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.
NB: have you included a copy of your configuration file (no secrets), together with a trace 4 debug showing what is happening?
-- Radiator: the most portable, flexible and configurable RADIUS server anywhere. Available on *NIX, *BSD, Windows, 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 [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.
