Hello Colin -

On Tue, 11 Apr 2000, colinc wrote:
> Hi there,
> 
> We would like to authenticate users via a linux password file but also
> like to keep a record of the accounting for the users on the mysql
> database or a separate file. Authentication is working fine, but is
> there a way to keep a record of the accounting for each user. I noticed
> that the manual says that AuthBy UNIX does not log accounting requests.
> 

This is very easy to accomplish - something like this:

# configuration to authenticate from UNIX and log accounting to SQL
# note the use of AuthByPolicy to execute both AuthBy's
# and empty AuthSelect to disable SQL authentication

<Realm ....>
        AuthByPolicy ContinueAlways
        <AuthBy SQL>
                DBSource ....
                DBUsername ....
                DBAuth ....
                AuthSelect
                AccountingTable .....
                AcctColumnDef .....
                AcctColumnDef .....
                .....
        </AuthBy>
        <AuthBy UNIX>
                .....
        </AuthBy>
</Realm>
                
Have a look at sections 6.19.1 and 6.24 in the Radiator 2.15 manual.

hth

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to