Alan DeKok <[EMAIL PROTECTED]> said:
> Try putting it in the "hints" section. I think the "users" file
> doesn't do the proper translations, unfortunately.
>
> DEFAULT Calling-Station-Id =~ ...
> Pool-Name = ...
>
> That might work.
Unfortunately not.
It does produce a slightly diff
Hugh Messenger wrote:
> I hate to bump my question like this, but I think it may have gotten lost in
> a flurry of activity that day. And I really would like to get this working.
Try putting it in the "hints" section. I think the "users" file
doesn't do the proper translations, unfortunately.
Hugh Messenger (that's me!) said:
> Alan DeKok said:
>
> > DEFAULT Called-Station-Id =~ "^(\w+_pppoe_\d+)$", Pool-Name :=
> `%{1}`
> >
> > \w && \d may not be supported by the regex library on your system. You
> > may have to use [a-fA-F] etc. explictely.
>
> I don't seem to be able to get t
Ala DeKok said:
> DEFAULT Called-Station-Id =~ "^(\w+_pppoe_\d+)$", Pool-Name :=
`%{1}`
>
> \w && \d may not be supported by the regex library on your system. You
> may have to use [a-fA-F] etc. explictely.
I don't seem to be able to get this to work. This is my DEFAULT entry:
DEFAULT
Alan DeKok <[EMAIL PROTECTED]> says:
> $ man users
DOH!!
Mea Maxima Culpa. I swear I read that through twice, and managed to
blind-spot on the =~ both times.
> Alan DeKok.
-- hugh
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hugh Messenger wrote:
> Is there some way I can make this generic, so I don't have to add each one
> to the users file seperately? Conceptually, it'd be like ...
>
> DEFAULT Called-Station-Id == /^(\w+_pppoe_\d+)$/, Pool-Name := "$1"
$ man users
...
Also see doc/variables.txt.
DEFAULT Call
Another classic Dumb Question.
Over the next few months I'm going to be setting up a lot of IP pools for
sqlippool. My Pool-Name's are based on the Called-Station-Id.
The way I'm doing it right now is a DEFAULT for each one, like this:
DEFAULT Called-Station-Id == brantley_pppoe_141, Pool-Name
7 matches
Mail list logo