Simultaneous-use check but don't reject
Alexander Kosykh
avkosykh at gmail.com
Wed Dec 21 07:22:08 CET 2011
How to make checkrad, if disable all in "session" section? acct-stop
packets is lost sometimes and sql think that customer is online, but he
didn't.
Regards,
Alexander.
2011/12/21 Fajar A. Nugraha <list at fajar.net>
> On Wed, Dec 21, 2011 at 12:56 PM, Alexander Kosykh <avkosykh at gmail.com>
> wrote:
> > Hi.
> >
> > I knew how to make all you wrote above.
>
> Are you sure?
>
> > I need to know how to accept
> > customer, when sim-use rejected him.
>
> Cause if you do, you wouldn't ask that.
>
> Easiest way: simply remove "sql" (or "radutmp", depends on what you
> use) from "session" section. Then simultaneous-use check will be
> disabled (e.g. user will be accepted no matter whether they're already
> logged in or not).
>
> You will still be able to examine user status and limit using unlang
> from "%{control:Simultanenous-Use}" (which gets its value from
> radcheck/radgroupcheck) and "%{sql:
> whatever-you-find-as-simul_count_query-on-sql/mysql/dialup.conf}".
> Using those two values you add reply items (either vlan assignment,
> IP/DNS assignment, and so on).
>
> --
> Fajar
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111221/b8ca3551/attachment.html>
More information about the Freeradius-Users
mailing list