(RADIATOR) 2 questions. Acct stop only in AcctLogFileName and badpassword fo r username at realm in Log

Hugh Irvine hugh at open.com.au
Tue Dec 4 17:14:42 CST 2001


Hello David -

On Wed, 5 Dec 2001 05:45, david.kramar at aliatel.cz 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 at realm1 account expired
> 3 04/12/2001 18:42 User user2 at realm1 account not valid yet
> 3 04/12/2001 18:36 User user3 at realm1 bad password
> #-----------------------------------------------------------
>
> #----------at present I see this-----
> 3 04/12/2001 18:45 User user1 at realm1 account expired
> #this is fine
> 3 04/12/2001 18:42 User user2 at 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 at realm
> # this is not fine because is trace 4 and
> 4 04/12/2001 18:36 Radius::AuthRADMIN REJECT: Bad Password 		#
> user3 at 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 radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list