(RADIATOR) authenticate but not allow method

Hugh Irvine hugh at open.com.au
Mon Mar 1 21:28:43 CST 2004


Hello Adam -

You will probably need to use a hook for this - and you will find some 
example hooks in the file "goodies/hooks.txt".

Note however that most "Client" dialler software does not display the 
reply message in any case, so YMMV.

regards

Hugh


On 1 Mar 2004, at 21:04, Adam Pogorzelski wrote:

> Hello,
> I've made prepaid configuration for radius, and its works really fine.
> But i found one problem, if TIMELEFT will be zero, or under 60 seconds
> like i did, user will cannot dialin, and error code will be PAP
> authenticate problem.
> I would like to create second Handler which checks that user exist and
> password is correct, but TIMELEFT is under 60 seconds and reply to
> this user with DENIED and Reply-Message "no free minutes" or something
> else.
> It could be even some error code which will be interpreted by dialer
> application.
> I am wondering if its possible.
>
> Best Regards
>
> --
> "For proper viewing, take red pill now"
>                                Futurama
> AdamP.
> --
> 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.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

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