You can do this very easily using an identifier statement
in each <AuthBy SQL> clause:

#
# Here's an AuthBy SQL statement for accounting
#
<AuthBy SQL>
        Identifier      ACCTSQL

        DBSource        dbi:dbstring
        DBUsername      username
        DBAuth          pword

        #
        # Empty AuthSelect statement for accounting only stuff
        #
        AuthSelect
</Authby>

<AuthBy SQL>
        Identifier      AUTHSQL
       
        DBSource        dbi:dbstring
        DBUsername      username
        DBAuth          pword

        AuthSelect      your autheselect statement here....
</AuthBy>

Then, in your realm handler:

<Realm DEFAULT>
        AuthByPolicy    ContinueAlways
        # 
        # Do your accounting
        #
        AuthBy         ACCTSQL
        
        # 
        # Do your authenticating
        #
        AuthBy         AUTHSQL
</Realm>

Hope that helps. 

At 12:58 PM 10/30/99 -0600, you wrote:
>I want radiator to do its selects for authentication to one SQL server and
>do inserts for accounting to another server.  How can I accomplish this?
>


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