Hello Angel -

This is very easy to do:

# define AuthBy clauses

<AuthBy FILE>
        Identifier CheckFILE
        Filename %D/.....
        .....
</AuthBy>

<AuthBy SQL>
        Identifier SQLAccounting
        DBSource ....
        DBUsername .....
        DBAuth .....

        # empty AuthSelect to disable authentication
        AuthSelect

        AccountingTable ACCOUNTING
        AcctColumnDef .....
        .......
</AuthBy>

# define Realm(s) or Handler(s)

<Realm ....>
        AuthByPolicy ContinueAlways
        AuthBy SQLAccounting
        AuthBy CheckFILE
        .....
</Realm>


regards

Hugh


On Tue, 18 Dec 2001 03:42, Angel Bustos wrote:
> Hi all,
>
> In my first instalation, I would have authentication with a flat text users
> File  but the accounting making online inserts in a MySQL db.
> I´ve read the ref.html and i´ve found examples of one or another <AuthBy>
> clauses; it seems that <AuthBy SQL> example includes both authentication
> and accounting forcing  to an SQL authentication.
>
> Should I concatenate two <AuthBy FILE>  and <AuthBy SQL> schemes?
> could you illustrate with some short example?
>
> thanks in advance!
> regards,
>
>
> Angel Bustos
> email: [EMAIL PROTECTED]
>
> ___________________________________________________________________________
>_
>
> Conéctese Gratis a Internet desde http://www.brujula.net/gratis
> ===
> 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.

-- 
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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to