[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: Simultaneous use works beautifully
From: "Alan DeKok" <aland () ox ! org>
Date: 2002-10-31 16:25:06
[Download RAW message or body]
Joshua Corbin <jcorbin@jdweb.com> wrote:
> I got Simultaneous-Use working with a MySQL setup and though I would
> tell you all how I got it to work in case anyone has any questions:
That's good to hear.
> Just make sure that checkrad works with your setup; I had to change my
> SNMP read community, shouldn't that be in the naslist file instead of
> hacking perl?
It can go into the 'clients.conf' data structure. We can make the
change in the next version...
> INSERT INTO radgroupcheck (GroupName, Attribute, op, Value)
> values("dialup", "Simultaneous-Use", ":=", "1");
>
> Not ten minutes after adding that, we had users calling as to why they
> could no longer abuse their accounts ;) heh
And it saves you money!
> As a note, I agree with Alan totally, the schema should be Attr, op,
> Val, not Attr, Val, op; And also maybe you should make op NOTNULL?
> Just a thought ;-)
Submit a patch for the schema to do 'op NOTNULL'. I know next to
nothing about SQL, so I'm wary of doing it myself.
Alan DeKok.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic