Hi Mike,
I traced through the Radiator code with Log calls to work out where the
problem was. Eventually, I figured out that the AuthColumnDef should be 0 not
5 because it was the first user defined column. Setting IdleTimeOut from the
Radmin user interface is now working correctly. I'm also setting a Radius
Filter-Id of email (no web access) if the ServiceName (now also set in Radmin)
is set to Mailbox.
I've added an extra column to my Radmin/Radiator database, it is ServiceState,
basically it has values of OK or SUSPENDED. What I want to do is to stop
people from logging on if their SERVICESTATE in the Radiator database is set
to SUSPENDED. Could you let me know how I could go about this?
Regards. Paul
Mike McCauley wrote:
>
> Hello Paul,
>
> You would add these to you AuthBy RADMIN claause:
>
> # The following is all on one line:
> AuthSelect select PASS_WORD, STATICADDRESS, TIMELEFT, MAXLOGINS, IDLETIMEOUT
> from RADUSERS where USERNAME='%n' and BADLOGINS < 5 and VALIDFROM < %t and
> VALIDTO > %t
>
> AuthColumnDef 5,Idle-Timeout,reply
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.