> >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.
> >

[skipped]

> The 'users' file is the most up to date.  Use that syntax.
>
> Use the sample syntax as seen in the 'users' file.
>
> -Chris

I looked at sample 'users' file but I couldn't find anything regarding
Simultaneous-Use there. Is the syntax below correct? Will simultaneous-use
work as expected in my case? Because in 'man 5 users' I saw

>  Attribute := Value
>            Always matches as a check item, ...

What does the phrase "always matches" mean in the case of 'Simultaneous-Use'
pseudo-attribute?

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