13 May
2009
13 May
'09
2:55 p.m.
On 13 May 2009, at 11:07, A.L.M.Buxey@lboro.ac.uk 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.