mixed mode authentication user names

lawrence whittemore asked on January 3, 2023 21:32

we have an older version of kentico (9.something) that used to use AD for login but because of server changes we had to switch to mixed mode. One of the things we noticed is the user it creates starts with a capital letter in the username and the rest lowercase. This seems to be an issue for the user when they try to access the admin, front end access seems ok, but we get blocked out of the admin. a fix was to switch the username to all caps similar to how they were being created when the site was just using AD mode.

Any thoughts on what we can do to fix this?

Recent Answers


Brenden Kehren answered on January 3, 2023 22:02 (last edited on January 3, 2023 22:03)

Usernames in Kentico are NOT case sensitive. Your AD authentication could have rules against it but technically speaking Kentico doesn't care. Kentico stores the username based on how AD sends the info back.

1 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on January 4, 2023 06:44

Just to add to what Brenden wrote - in this case the user name or role name forbidden characters are the same as for the URLS. See the docs. But sill, there is no case sensitivity.

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on January 4, 2023 20:38

It's a really bizarre issue. It allows me to log in and recognizes that I am in because I can see that it had updated the users last login field (via being logged in as someone else), but it throws an error in when trying to go to the admin. And for whatever reason, changing the name casing seemed to fix it.

We'll let it go for now and see if it comes up again.

thanks!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.