18 Oct
2006
18 Oct
'06
12:35 p.m.
Mike <needacoder@gmail.com> wrote:
Instead, I tried to be "smarter" by using the default realm, that way I need to only have a single realm statement in config and it will work "forever". When I did this, I find that the suffix module is actually returning the string DEFAULT instead of actual Realm name
But DEFAULT *is* the realm name. The names are what's in the conf files, not what's in the User-Name field. What you *really* want is this, in preproxy_users: DEFAULT User-Name =~ "@([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)$" NAS-IP-Address = `%{1}` That works *without* using any concept of "realms". Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog