[OpenSER-Users] Modify $au to lowercase

Alex Balashov abalashov at evaristesys.com
Fri Nov 23 23:09:17 CET 2007


Peter,

What is your interface to your authentication data?  If you are pulling it 
from a database, you might be able to issue the query in such a way that 
the user-input username field is automatically lowercased prior to a
comparison.

-- Alex

On Fri, 23 Nov 2007, Peter P GMX wrote:

> Hello,
>
> is there any chance to modify the authorization user name?
>
> I have the following scenario. We do allow only lowercase usernames when
> users are registering. So the md5 password is created and stored based
> on lowercase letters.
> When a user receives his account data he might enter his username in
> camelcase in his user agent. So when he tries to register, it fails, as
> the md5 hash based on the camelcased username is different.
>
> I tried to use the perl module, put the username to lowercase and put it
> back to OpenSER via avp_pushto. But Openser only allows $ru,$du,$br to
> be modified.
>
> Do I have a chance to modify $au?
>
> Best regards
> Peter
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>

--
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : +1-678-954-0670
Direct : +1-678-954-0671




More information about the Users mailing list