I’m getting the following error (from OC admin) when I tried to add Connection Name and Connection Password:
SPC-OCA-10531: Input Error: SPC-OCA-10526: A valid Login Name Pattern must be specified
Current Loging Name Pattern
(&(objectClass=user)(sAMAccountName={0})(memberOf=CN=APPXXX_Spectrum_Users,OU=Domain Local Groups,OU=Accounts,DC=ab,DC=acme,DC=com))
Even with the error message, the users can still login normally.
Any changes to the LDAP configuration for OC on this new version? How can I fix this issue?
Release : 21.2
Component :
We have made changes to LDAP configuration validation code as a part of “US783420 - 3.06 Req 13 The web application must validate all data that is transferred by a client on the server side” in 21.2.8.0
Added a basic regular expression to validate the login name pattern which can be configured based on the customer requirement.
1. Open $SPECROOT/custom/validator/
2. Search for “loginNamePatternRegEx” and change that line to loginNamePatternRegEx=^[)(&,a-
3. Restart tomcat
4. Use the login pattern for LDAP configuration. Login name pattern should be validated successfully.
5. You can follow the similar procedure to customize any other values and regular expressions mentioned in the properties file.