Community discussions

MikroTik App
 
kirlein
just joined
Topic Author
Posts: 9
Joined: Thu Apr 27, 2006 8:37 am

editing login.html (uppercase/lowercase)

Fri Mar 09, 2007 5:58 am

any idea to uppercase or lowercase all submited login ?

i modify this at login.html
function doLogin() {
document.sendin.username.value = document.login.username.value.toUpperCase();
document.sendin.password.value = hexMD5('$(chap-id)' + document.login.password.value + '$(chap-challenge)');
document.sendin.submit();
return false;
}
i input lower username but it doesnt work , i still got lowercase username on radius.log

any clue ?[/quote]
 
cmit
Forum Guru
Forum Guru
Posts: 1552
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Fri Mar 09, 2007 2:42 pm

Might be that your RADIUS server does a conversion to lowercase of the usernames he's receiving? Wouldn't be too uncommon...

Best regards,
Christian Meis
 
kirlein
just joined
Topic Author
Posts: 9
Joined: Thu Apr 27, 2006 8:37 am

Fri Mar 09, 2007 3:43 pm

there`r lower_username at radius.conf but i set it to NO. i checked at radius.log it showed username that i had input without any conversion.. any way to convert all username to uppercase/lowercase before it send to radius ?

Who is online

Users browsing this forum: sakalsk and 17 guests