It's not a real language, honest

Wichert Akkerman wichert at wiggy.net
Mon May 28 16:14:14 CEST 2007


Previously Alan Dekok wrote:
> Wichert Akkerman wrote:
> > Does this mean that you will have to duplicate that or use a much more
> > complex expression to allow both user at realm and realm/user syntaxes
> > for a realm? That would be slightly inconvenient.
> 
>   The "realms" module won't be deleted.
> 
>   But yes, replicating the "realms" module functionality in the new
> config language requires re-writing *all* of the C code in rlm_realms.c,
> which may not be worth it for most people.

Perhaps it would be interesting if a module could register a function
for the 'not a real language'. That would allow the realm module to
allow you to do something like:

   if (HasRealm('IPASS', %{User-Name})) {
	   ...
   }

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.



More information about the Freeradius-Devel mailing list