Logging into Release Operations Center (ROC) with an Active Directory user redirects to the following page: http://mgmtServer:8080/datamanagement/j_spring_security_check
The result page shows the following errors:
HTTP Status 500 - Incorrect result size: expected 1, actual 0
CA Release Automation 126.96.36.19907 and above.
This is related to how the distributed.properties file is configured which serves as a basis for how subsequent searches are done when trying to authenticate active directory users.
Example of problematic configuration and login IDs.
Distributed.properties file configured with an Active Directory domain controller:
I have a test user whose sAMAccountName is: myeastuser
This users userPrincipalName is: email@example.com
If I try to login to the ROC with myeastuser then it generates the error above. This is because we attempt to search for the user using the userPrincipalName attribute. If a login id is supplied without the userPrincipalName value then we attempt to search for it by appending "@<user.active.directory.domain>". In this case it was looking for: firstname.lastname@example.org
But this user is not valid, although in my active directory environment it is a menu option for me to change the usersPrincipalName. This is another option if your active directory admin, the user, and whoever else is okay with making this change.