Hi Brian -

On Thu, 07 Oct 1999, Brian Morris wrote:
> Hi all,
> 
> I would like to authenticate users using RADIUS on another machine but
> record the accounting data to an SQL database.
> 
> I'm sure this can be done with a continue until... or something but I'm
> currently stumped.
> 
> Can anyone shine some light on this one?

Easily done:

# Configure cascaded AuthBy's
# AuthBy SQL does accounting only (empty AuthSelect)
# AuthBy RADIUS does authentication only (NoForwardAccounting)

<Handler ....>
        AuthByPolicy ContinueAlways
        <AuthBy SQL>
                DBSource ....
                DBUsername ....
                DBAuth ....
                AuthSelect
                AccountingTable ....
                AcctColumnDef ....
        </AuthBy>

        <AuthBy RADIUS>
                Host ....
                Secret ....
                NoForwardAccounting
        </AuthBy>
</Handler>

hth

Hugh


--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to