Hello David -

On Wed, 5 Dec 2001 05:45, [EMAIL PROTECTED] wrote:
> Hi all
> I would like to ask for 2 questions
> I use radiator and RAdmin, so
>
> 1. Is possible to do this - insert to AcctLogFileName stops only
> accounting, (similarly as acct. with AccountigStopsOnly if I use
> AuthbySQL..)
>     or I have to do this with external scrips..?
>

The easiest way to do this is with Handlers, something like this:

# define Hanlder for accounting stops

<Handler Acct-Status-Type = Stop>
        ......
        AcctLogFileName .....
        .....
</Hanlder>

# define Handler for other accounting

<Handler Request-Type = Accounting-Request>
        ......
</Handler>

# define Handler for authentication

<Handler>
        ......
</Handler>

Note that you should not mix Realms and Handlers in the same configuration 
file, so convert any Realms to Handlers and make sure the Handlers are in the 
correct order (more specific before more general).

> and second problem is :
> Is possible to insert in LogSQL ( with trace trace 3 ) this (I use RAdmin):
>
>
> #----this i woud like to see this with trace 3----------------------
> 3 04/12/2001 18:45 User user1@realm1 account expired
> 3 04/12/2001 18:42 User user2@realm1 account not valid yet
> 3 04/12/2001 18:36 User user3@realm1 bad password
> #-----------------------------------------------------------
>
> #----------at present I see this-----
> 3 04/12/2001 18:45 User user1@realm1 account expired
> #this is fine
> 3 04/12/2001 18:42 User user2@realm1 account not valid yet
> #this is fine
> 4 04/12/2001 18:36 Handling with Radius::AuthRADMIN
> 4 04/12/2001 18:36 Handling with Radius::AuthRADMIN:
> 4 04/12/2001 18:36 Radius::AuthRADMIN looks for match with user3@realm
> # this is not fine because is trace 4 and
> 4 04/12/2001 18:36 Radius::AuthRADMIN REJECT: Bad Password            #
> user3@realm and reject message "Bad password" is not in one line
> 4 04/12/2001 18:36 Handling with Radius::AuthRADMIN
> #-------------------------------
>

For this second question I have copied Mike on this mail, but he is away for 
a couple of weeks so he may not see it until he returns.

regards

Hugh


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