I think you should be able to just change the syntax for 'uid' to
case sensitive. Of course that might break something somewhere.
e.g. the console/admin server may have made assumptions about
uid being case insensitive. As for not complying with the RFCs
that's really not a big concern since you actually _want_ your
usernames to be case sensitive.