Unbalanced parenthesis error using the userAccountControl attribute in the Active Directory/LDAP Account Search Filter of an ADC in RSA Identity Governance & Lifecycle
Originally Published: 2019-05-13
Last Modified: 2023-11-30
Article Number
Applies To
RSA Version/Condition: 6.9.1, 7.x
Issue
javax.naming.directory.InvalidSearchFilerException:Unbalanced parenthesis;
remaning name 'OU=vcloud Users,DC=2k8r2-vcloud,DC=local'
remaning name 'OU=vcloud Users,DC=2k8r2-vcloud,DC=local'
Cause
Resolution
Modify the reference to the userAccountControl attribute in the Account Search Filter definition:
- Change from (!userAccountControl:1.2.840.11.1.4.802:=2)
- Change to (!(userAccountControl:1.2.840.11.1.4.802:=2))
Note the extra set of parentheses that are required after the exclamation point and the attribute name, and also to end the string.
In the above example this would look like:
- Change from
(&(objectCategory=person)(objectClass=user)(!userAcountControl:1.2.840.11.1.4.802:=2)(sAMAccountName=*))
- Change to:
(&(objectCategory=person)(objectClass=user)(!(userAcountControl:1.2.840.11.1.4.802:=2))(sAMAccountName=*))
Related Articles
Unification slow and identity collections show users in reprocessed state in RSA Identity Governance & Lifecycle 72Number of Views RSA Identity Governance & Lifecycle Imported Roles do not show entitlements on Users 89Number of Views RSA SecurID Software Token Automation feature does not work with Cisco AnyConnect 221Number of Views Is there a way to import Review Results from one environment to another in RSA Identity Governance & Lifecycle? 11Number of Views RSA Identity Governance & Lifecycle collector throws "Login failed. The login is from an untrusted domain and cannot be us… 155Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA-2026-24: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities IDR SSO - Step 3: Deploy the Identity Router RSA Authentication Manager 8.9 Setup and Configuration Guide
Don't see what you're looking for?