Hello,

I can't get Simultaneous-Use working. I use portslave as NAS. I have
ctlportslave running as fingerd. checkrad perl script works fine when I run
it manually. But it is never run by freeradius. I think this is because I
don't understand the meaning of :=, == and = statements.

First, in /doc/Simultaneous-Use file I can see the following:

>  For example:
>
>  #
>  # Simultaneous use restrictions.
>  #
>  DEFAULT Group = "staff", Simultaneous-Use = 4
>          Fall-Through = 1
>  DEFAULT Group = "business", Simultaneous-Use = 2
>          Fall-Through = 1
>  DEFAULT Simultaneous-Use = 1
>          Fall-Through = 1

Second, in "man 5 users" I see:

>       Attribute = Value
>            Not allowed as a check item.

Third, somewhere in the list I saw:

> If you use the "users" file, you
> would use ':=' for Simultaneous-Use and Login-Time

So, something in the documentation is incorrect. Can somebody tell me what
should I change in my users file to make simultaneous logins limit working?

Here is my users file:

DEFAULT Auth-Type := Sql, Simultaneous-Use = 1
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        Fall-Through = Yes

DEFAULT Service-Type == Framed-User
        Framed-IP-Address = 255.255.255.254,
        Framed-MTU = 576,
        Service-Type = Framed-User,
        Fall-Through = Yes

DEFAULT Framed-Protocol == PPP
        Framed-Protocol = PPP,
        Framed-Compression = Van-Jacobson-TCP-IP,
        Fall-Through = Yes

# On no match, the user is denied access.



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to