In my users file I'm trying to define Simultaneous-Use for group:

==============================================================
DEFAULT         Group == "ppp-simul",  Simultaneous-Use := 10
                Fall-Through = Yes

DEFAULT         Simultaneous-Use := 1
                Fall-Through = Yes

DEFAULT         Framed-Protocol == PPP, Simultaneous-Use := 1
                Service-Type = Framed-User,
                Framed-Protocol = PPP,
                Framed-IP-Netmask = 255.255.255.255,
                Framed-MTU = 576,
                Idle-Timeout = 300,
                Framed-Compression = Van-Jacobson-TCP-IP,
                Fall-Through = Yes
==============================================================
But the first definition was ignored. I've tried to test users file with
radclient and written following:
==============================================================
DEFAULT         Group == "ppp-simul",  Simultaneous-Use := 1
                Reply-Message = "ppp-simul was detected",
                Fall-Through = Yes


DEFAULT         Simultaneous-Use := 1
                Reply-Message = "next step",
                Fall-Through = Yes

DEFAULT         Framed-Protocol == PPP
                Service-Type = Framed-User,
                Framed-Protocol = PPP,
                Framed-IP-Netmask = 255.255.255.255,
                Framed-MTU = 576,
                Idle-Timeout = 300,
                Framed-Compression = Van-Jacobson-TCP-IP,
                Fall-Through = Yes
==============================================================
But radclient returned me message "next step" without "ppp-simul was detected"
although the user that I tested was defined in usergroup:

username        groupname
ppuser          ppp-simul

radiusd.conf:

# Authentication types, Auth-Type = System for now.
authenticate {
}

authorize {
        preprocess
        sql
        noresetcounter
        dailycounter
        monthlycounter
        files
}


accounting {
        acct_unique
        sql
        detail
        unix
        radutmp
        #sradutmp
}

# Session database, used for checking Simultaneous-Use. The radutmp module
# handles this
session {
        radutmp
}

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

Reply via email to