03-09-2014 10:38 PM
We have a requirement of making the login field in Web client to be auto converted to Upper case when any user Type in their User ID , by default it should be converted to Upper Case and we are using SM 9.33 and the changes has to be done in smlogin.jsp file , Please suggest how to make these changes.
03-09-2014 11:38 PM
Access the smlogin.jsp file within the deployed WAR/EAR
Locate the following entries:
<input id="LoginUsername" type="text" name="user.id" tabindex="1">
Modify the middle entry:
<input id="LoginUsername" type="text" name="user.id" tabindex="1" style="text-transform:uppercase;">
03-10-2014 02:29 AM
Thanks for your reply, however the field was replaced with Upper case when keying in the Login name , but it displayes " Invalid login name/Password " after making these changes, Please suggest whether any more changes to be done else where.
03-11-2014 05:30 AM
Is your database case-sensitive, if so Gayathri wont be same as GAYATHRI because in your operator record login.id will be Gayathri.
03-12-2014 11:16 PM
Waht could be solution for this now , because even in the windows client the user ID should be Upper case if lower case is keyes in then the login will not happen.
So the same should work even in Web client where only the text is automatically changed to upper case and in operator record the field is stored as upper case itself.
03-18-2014 10:47 PM
Even when using case sensitive database and ldap, users can login with ether upper case or lower case. This is fixed by change request family QCCR1E71976 "Operators should log in successfully even LDAP and SM DB opeartor cases do not match after upgrading to SM9.20".
The key point is , you should use LDAP for user authentication, add the following parameters in sm.ini:
ldapbinddn: FQDN like cn=admin,cn=users,DC=QA-01,DC=SMCPE,DC=SH,DC=lab
ldapbindpass:the password of LDAP admin
ldapnostrictlogin:1 ==> when the user name is not in LDAP, this one will try to find him/her in local DB incasesensitively.
ldapauthenticateonly:1 ==> This one tell RTE to authenticate with LDAP.
This fix is released in SM7.11P19, Sm9.21P5 and 930P4, a long time ago.
03-20-2014 04:33 AM
we have noticed that when typing the User name it says invalid user name and password , however when copying the same opertor ID and pasting in the Login field it works fine though it is for the same ID , Please suggest whether anything else needs to be done.