Thanks Mike,

I've just tested your suggestion below and it works very nicely. I'm using the
SERVICENAME column in the Radamin/Radius database to indicate whether the
customer is a TRIAL, HOURLY, etc. 

What I would like to do next is to get Radiator to send out an email (to my
accounts staff and to the customer) when a TRIAL user is in the 10th day of
their trial login period. I can see that ADDEDDATE is set correctly, how can I
work out if they have been in the trial period for 10 days or more?


Regards.  Paul


Mike McCauley wrote:

> > What do I need to do to not let the customer login if he is suspended, but
> > still allow authentication from the passwd file is MySQL is not running?
> 
> I would normally do it like this:
 
> <Realm whatever>
>         AuthByPolicy ContinueWhileIgnore
>         <AuthBy RADMIN>
>                 AuthSelect   ............ and SUSPENDED != 'whatever'
>         </AuthBy>
>         # Will go to the next auth if the database is down
>         <AuthBy FILE>
>                 # or any other authby you like
>         </AuthBy>
> </Realm>

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