FreeRadius + AD + Realms

Alan DeKok aland at deployingradius.com
Sun Jul 4 13:20:26 CEST 2010


Matthew P wrote:
> But I guess I missed to point with doing it this way, because:
> 
> if (User-Name =~ /@mydomain.com/) {
>     if (User-Name =~ /^(.*)@(.*)$/) {
>         update request {
>             Stripped-User-Name = %{1}

$ man unlang

  This says "put the string %{1} as the value of Stripped-User-Name".

  See the "data types' section of the manual page, and the "strings"
section.

  Alan DeKok.



More information about the Freeradius-Users mailing list