On Wed, Dec 21, 2011 at 12:56 PM, Alexander Kosykh <avkosykh@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