bug-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnu-radius] patchinfo: 2166 Extra builtin rewrite function: tolower


From: Maurice Makaay
Subject: [Bug-gnu-radius] patchinfo: 2166 Extra builtin rewrite function: tolower(string)
Date: Wed, 29 Oct 2003 22:52:12 +0100

2166 Extra builtin rewrite function: tolower(string)
----------------------------------------------------------------------
This builtin function can be used to add a level of case-insensitivity
to radius authentication. Our previous radius implementation didn't
care for case. We unfortunately we found out that we had a lot of
users depending on that :-( With this patch we can do:

raddb/rewrite
=============

integer
username_tolower()
{
        %[User-Name] = tolower(%[User-Name]);
        return 0;
}

radd/hints
==========

DEFAULT Rewrite-Function = "username_tolower" Fall-Through = "Yes"
----------------------------------------------------------------------

With kind regards,

Maurice Makaay
InterNLnet BV
The Netherlands




reply via email to

[Prev in Thread] Current Thread [Next in Thread]