Hello Ali,

On Jul 3,  5:50pm, postmaster wrote:
> Subject: (RADIATOR) Why does it log into Accounting database when user is
>
> Hello,
>
> I have Radiator-2.13.1 set up as follows:
>
> <client DEFAULT>
>   Secret xxxxxxx
>   DupInterval 0
> </Client>
>
> <Realm DEFAULT>
>    MaxSessions 1
>    RejectHasReason
>    <AuthBy SQL>
>       AuthSelect
>       DBSource dbi:mSQL:radius
>       AccountingTable ACCOUNTING
>       AcctColumnDef USERNAME,User-Name
>       ... Other columns here
>    </AuthBy>
>    <AuthBy FILE>
>       Filename ./users
>    </AuthBy>
> </Realm>
>
>
> Basically 'AuthBy FILE' but do the mSQL logging.
> Now, 'radpwtst' rejects for all users (valid and invalid) but also
> logs them in the ACCOUNTING table, how do I just log for the ones that
> are valid users in my 'users' file ?

You dont need anything special.

With a real NAS, if they are rejected, then you wil never get any accounting.
radpwtst is not as clever as a real NAS. It always sends the test accounting
requests, even if the auth was rejected.

Your config looks fine.

Hope that helps
Cheers.


-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

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