I’m not sure if this already a feature in OOD, but I’m looking to force the username used during login to OOD to become lowercase after login.
We use LDAP for authentication, and it will accept the username in any mixed case the user enters and do a case insensitive match (and authentication) in LDAP. The problem is that the NGINX will throw an “Error – user doesn’t exist: Hpc Run ‘nginx_stage --help’” if the user enters their username in a case that is different that what is stored in LDAP. E.g. hpc, HPC, Hpc all authenticate with LDAP, but if it is stored as ‘hpc’, NGINX gets upset with the error mentioned.
Is there a way to force the username to get mapped to lowercase after authentication no matter how the user entered it? I was look at the ood_auth_map.regex under “2. Setup User Mapping” but the syntax seemed a little too foreign for me to modify without asking the community first.