(RADIATOR) Re: deduct time ...
Hugh Irvine
hugh at open.com.au
Wed Jun 13 18:54:38 CDT 2001
Hello AbdusSami -
Here is an example:
<AuthBy SQL>
......
AcctSQLStatement update BLOCK_USERS set \
TIMELEFT=TIMELEFT-0%{Acct-Session-Time} \
where USERNAME='%n'
.....
</AuthBy>
Have a look at the example in "goodies/blocktime.txt".
hth
Hugh
On Wednesday 13 June 2001 22:11, Mohammed AbdusSami wrote:
> Dear All,
>
> I am using Authby SQL realm for authentication purpose. Once the session is
> end for a dialup user it should deduct the session time from the time left.
> I hope we can do it by RADmin realm. Can I do this using Authby SQL realm.
>
> If yes please give me one example for the queries related to it.
>
> Regards,
>
>
> AbdusSami
--
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