Hello

The danish/norwegian letter "Ø" is not handled correctly in Adaxes.
Even if regexp is set to ^[A-Z] , it's still possible for the user to enter and use the letter "Ø" in their initials and User logon name.

The letters are handled correctly in powershell scripts, so as for now, we use scripts to ensure that the letters are not used in initials or user logon names.

Unicodes are:
- "Ø" = U+00d8 (upper case)
- "ø" = U+00f8 (lower case)

- Thanks

by (2.6k points)

1 Answer

by (216k points)
Best answer
0 votes

Hello,

Regular expressions are handled correctly in Adaxes. The issue is actually in your regular expression :)

The regexp that you have checks only the 1st character, all other characters are ignored. Also, it allows only UPPERCASE letters. You can use one of the following regular expressions:

  • ^[A-Z]+$ - check all characters, allow only UPPERCASE letters;
  • ^[a-zA-Z]+$ - check all characters, allow both uppercase and lowercase letters;
  • ^[A-Z]{1}[a-z]+$ - check all characters, the 1st character must be upper case;
  • ^[A-Z]{1}[a-z ]+$ - the same as above, but also allows a blank space.

Related questions

Hello! I am creating a scheduled task, which in pseudocode does the following: 1st action: If account is locked AND if extensionattribute6 is empty send email to the locked account set ... of my DC's, the value is correct. How do I work around this? Thanks!

asked Aug 19, 2014 by Erlend (160 points)
0 votes
1 answer

Here are the actrions of the custom command. Here are the parameters. Need a script to copy the param user's file path for home drive example: Param user's home drive ... ) should be //server1/homedirs/%username%. Then give the user full control of the folder.

asked Feb 8, 2023 by mightycabal (1.2k points)
0 votes
1 answer

I have a script in the condition "If PowerShell script returns true". For some reason the conditions in the script is not evaluated correctly. Condition Script Log As you can see, the log ... , 2015 4:00:00 PM and Today is Tuesday, August 04, 2015 7:48:40 AM.

asked Aug 4, 2015 by sdavidson (730 points)
0 votes
1 answer

Just installated teh latest version. [Error] The requested operation is not supported by this version of the directory service.

asked 5 days ago by hhsmith (120 points)
0 votes
0 answers

When attempting to modify a shared mailbox that is in 365 but anchored in on premise AD, I am receiving the following error when trying to add a regular user to ... Builtin Administrators group anywhere, I'm not sure where Adaxes is picking this up from.

asked Jan 17 by curtisa (350 points)
0 votes
1 answer