Salut Gildas -

On Sat, 16 Sep 2000, Gildas PERROT wrote:
> Hi,
> 
> I am using <AuthBy SQL> with MySQL for authentication and accounting. I
> noticed that the authentication by <AuthBy SQL> is case insensitive like
> usual Mysql queries. My problem is that the accounting in MySQL tables is
> done by distiguishing 2 usernames like "test" and "Test".
> I would like to solve that problem by forcing case sensivity in
> authentication or by forcing downcase for usernames in accounting. How could
> I do one or the other way ?
> 

You could use a seperate Handler for accounting with a RewriteUsername to force
all lower case. Something like this:

<Handler Request-Type = Accounting-Request>
        RewriteUsername tr/A-Z/a-z/
        .....
</Handler>

hth

Hugh

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to