Hello AbdusSami -
On Saturday 03 February 2001 19:15, Mohammed AbdusSami wrote:
> Dear All,
>
> Suppose if I have a field called NOOFSESSIONS in subscribers database which
> will have max. no of sessions assigned for that username.
>
> My question is can I restrict the number sessions for the users to the
> number of sessions available for their username. Here for each users no. of
> sessions will be different.
>
Yes this is very easy to do with the Simultaneous-Use check item.
You would add the NOOFSESSIONS column to your AuthSelect query, and
you would add an AuthColumnDef like this:
AuthColumnDef n, Simultaneous-Use, check
Have a look at section 6.26 in the Radiator 2.17.1 reference manual.
The Simultaneous-Use check item is described in section 13.
Note that you can also specify a DefaultSimultaneousUse value in the AuthBy
clause that will apply to those users who do not have a value set in the
NOOFSESSIONS column.
hth
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.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.