[RADIATOR] AuthByPolicy - Always do every authentication method
Alex Massover
alex at jajah.com
Wed Mar 25 06:50:01 CST 2009
Hi!
I'm working with accounting and trying to log every request to SQL prior to sending it to application server.
Docs state for AuthByPolicy:
"- anything else
Always do every authentication method. Returns the result of the last one."
And this is exactly what I need, i.e. always do SQL and after send it to application server and return the result of application server.
Here what I have:
cat radius.cfg | grep AuthBy
<AuthBy GROUP>
AuthByPolicy Every
<AuthBy SQL>
</AuthBy>
<AuthBy GROUP>
AuthByPolicy ContinueUntilAccept
<AuthBy URL>
</AuthBy>
<AuthBy URL>
</AuthBy>
<AuthBy URL>
</AuthBy>
<AuthBy INTERNAL>
</AuthBy>
</AuthBy>
</AuthBy>
But the requests never continue beyond the SQL:
Wed Mar 25 11:56:16 2009: DEBUG: Handling with Radius::AuthGROUP:
Wed Mar 25 11:56:16 2009: DEBUG: Handling with Radius::AuthSQL:
Wed Mar 25 11:56:16 2009: DEBUG: Handling accounting with Radius::AuthSQL
...
Wed Mar 25 11:56:16 2009: DEBUG: Handling with Radius::AuthGROUP:
Wed Mar 25 11:56:16 2009: DEBUG: AuthBy GROUP result: ACCEPT,
Wed Mar 25 11:56:16 2009: DEBUG: Accounting accepted
What can be wrong with my configuration please?
--
Best Regards,
Alex Massover
This mail was sent via Mail-SeCure System.
More information about the radiator
mailing list