RE:2.0.0 documentation for radiusd.conf
From: Alan Dekok <aland@deployingradius.com> Oh, and "-=" works. With the "users" file, it didn't. And there are other corner-case bugs fixed, too.
Any luck fixing this stuff: DEFAULT Called-Station-Id =~ "^([A-z0-9]+_[0-9]+)$", Pool-Name := `%{0}` Framed-IP-Netmask = 255.255.0.0, Fall-Through = 1 ... in either users or hints? If you recall, I'm trying to find a way of having just one DEFAULT for setting my sqlippool Pool-Name, rather than having to have 50+ individual entries. So far no luck with the above mechanism in either users or hints files.
Alan DeKok.
-- hugh
Hugh Messenger wrote:
Any luck fixing this stuff:
DEFAULT Called-Station-Id =~ "^([A-z0-9]+_[0-9]+)$", Pool-Name := `%{0}` Framed-IP-Netmask = 255.255.0.0, Fall-Through = 1
... in either users or hints?
Don't use "users" or "hints". Use the new unlanguage.
If you recall, I'm trying to find a way of having just one DEFAULT for setting my sqlippool Pool-Name, rather than having to have 50+ individual entries. So far no luck with the above mechanism in either users or hints files.
authorize { ... if (Called-Station-Id =~ /^([A-z0-9]+_[0-9]+)$/) { update config { Pool-Name := "%{0}" } update reply { Framed-IP-Netmask = 255.255.0.0 } } .... } Much easier to understand, I think. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan Dekok -
Hugh Messenger