PAP password
Doug Hardie
bc979 at lafn.org
Wed May 13 20:55:23 CEST 2009
On 13 May 2009, at 11:07, A.L.M.Buxey at 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.
More information about the Freeradius-Users
mailing list