Actions
User story #21068
closedAdd option to make user login case insensitive
Status:
Released
Priority:
N/A
Assignee:
Category:
System integration
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
Description
We want to be able to have the option to enable or disable case sensitivity
Updated by Elaad FURREEDAN over 2 years ago
- Related to Bug #18465: AD (LDAP) login are case insensitive (but not in Rudder) added
Updated by Elaad FURREEDAN over 2 years ago
- Status changed from New to In progress
Updated by Elaad FURREEDAN over 2 years ago
Purpose¶
Be able to log in with username without case sensitivity
How to test¶
1. Make sure in /opt/rudder/etc/rudder-users.xml
the option case-sensitivity
is on true
2. In /opt/rudder/etc/rudder-users.xml
3 users toto
, ToTO
and TITI
with different password:
<user name="toto" password="..." role="administrator"/>
<user name="ToTO" password="..." role="administrator"/>
<user name="TITI" password="..." role="administrator"/>
See in logs, you should get a warning about the two similar login in /var/log/rudder/webapp/...
for toto
Users with potential username collision if case sensitivity is deactivated: toto
3. Try to log in with username
tiTI
: should fail (withTITI
password)TITI
: should succeedToTO
: should succeedtoto
: should succeed
4. Change option case-sensitivity
to false
in /opt/rudder/etc/rudder-users.xml
<authentication hash="bcrypt" case-sensitivity="false">
...
</authentication>
5. Try to log in with username (with their password)
TITI
: should succeedtiti
: should suceed (withTITI
password)toto
: should failToTO
: should fail
See in logs, you should get an error about same login in /var/log/rudder/webapp/...
for toto
:
Users with duplicates username will be ignored: toto
Updated by Elaad FURREEDAN over 2 years ago
- Status changed from In progress to Pending release
- Pull Request set to https://github.com/Normation/rudder/pull/4258
Updated by Alexis Mousset over 2 years ago
- Subject changed from Make user login not case sensitive to Add option to make user login case insensitive
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.0~beta1 which was released today.
Actions