Before reporting an issue
Area
ldap
Describe the bug
The change in https://github.com/keycloak/keycloak/pull/43128/files#diff-077cb88ca55b51b490d15d0884ac0983a22b056c7d60609ab49e09d238e0b189R286 is not making sure that username and email attributes are lower-cased when fetching values from LDAP.
Version
26.4
Regression
Expected behavior
Username and email are always in lower case.
Actual behavior
Username and email are not in lowercase.
How to Reproduce?
Run org.keycloak.testsuite.federation.ldap.LDAPProvidersIntegrationTest#caseInsensitiveSearch and check the username returned from the UserModel when building the representation.
Anything else?
No response