Helix username case sensitiveuser
Posted 25 August 2019 - 04:28 PM
we just noticed that our usernames are case sensitive.
Now i don't know if this is because our server has the case sensitive option enabled or if this is always the case but that seams like a strange behavior.
We're using LDAP and all other platforms don't care for the case of a username only Perforce does.
Is this expected behavior and is there a way to change the username to be case insensitive?
Thanks for your feedback.
Posted 27 August 2019 - 03:40 AM
There is not a way to configure this to make usernames have different case sensitivity from everything else, although if you're using LDAP triggers you can always normalize the username there.
Posted 01 September 2019 - 07:23 AM
thanks for your feedback!
Technically i can totally understand that the usernames are part of the database and therefore have the same case sensitivity setting.
My problem is that most user don't understand that. They get a username and password from IT and while the username contains some uppercase letters ldap doesn't care for that so on all our tools they can type the username however they like with Perforce being the only exception. That leads to a lot of confusion i would actually say that 80% of our new users call me saying the password doesn't work while instead they typed in their username wrong. This is what i'm trying to solve.
I'm not sure i understand your idea with LDAP triggers do you mean that if we user ldap user auto creation that we can change the case of the username coming from ldap to a all lowercase version in perforce for example?
Thanks a lot!
Posted 02 September 2019 - 04:38 AM
I don't grok the specifics of your setup, but in principle, if you have control over the usernames that are getting passed from one system to the other, you should be able to insert logic that just normalizes them to lowercase so that the casing entered by the users doesn't matter.
Posted 01 October 2019 - 10:33 PM
This doesn't actually solve the core of the problem/question, but it will make usernames consistent with what people are used to (all lowercase.)
I don't think this will re-create users who are already uppercase. I think you'll have to delete them and re-import them (p4 ldap -u). Looks like we have one user that is in all uppercase in Perforce, though I know we have many others who are uppercase in LDAP but lowercase in p4. Not sure what's up with this rogue, he may have at one time told us he prefers uppercase so we left it that way.
Staff SCM Engineer, Perforce Administrator
Dolby Laboratories, Inc.
1275 Market St.
San Francisco, CA 94103, USA
Also tagged with one or more of these keywords: user
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users