On 13 May 2009, at 11:07, [email protected] wrote:

Hi,

DEFAULT User-Name =~ "DUN[+]([...@]+)@*"
     User-Name := "%{1}",
     Hint = "NationalSS1"

DEFAULT User-Name =~ "dun[+]([...@]+)@*"
     User-Name := "%{1}",
     Hint = "NationalSS2"


and so on.  This works but might be a bit kludgy.  At least we are
authenticating again.  Thanks for the help.

welcome to the wild world of regex.

suggest "DUN\+([...@]+)@*"

Tried that. user name becomes +<user id>. Had to put the brackets around the + to make it work. Found that hint in man re_format.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to