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.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to