How to Include or Exclude an Active Directory OU from the Microsoft LDAP directory on RSA Authentication Manager 8.x
Article Number
Applies To
RSA Product/Service Type: RSA Authentication Manager
RSA Version/Condition: 8.x
Platform: Linux
Issue
There may arise the need to include or exclude a specific OU or subset of OUs when mapping users into RSA Authentication Manager from Active Directory. In larger environments with many parent or child OUs, this can quickly become untenable to perform manually on the AD Integration page when mapping User OUs and/or Group OUs through multiple AD
While providing specific examples of LDAP filtering is not under the purview of Support, this document is given as a best effort to assist customers with large AD domains.
Tasks
- Login to the Operations Console of the primary Authentication Manager instance.
- Click Deployment Configuration > Identity Sources > Manage Existing.
- When prompted, enter the super admin user ID and password
- Click the context arrow for the identity source in question and select Edit.
- Click the Connection(s) tab or the Map tab to view the properties of the external identity source:
- Scroll down to the Directory Configuration - Users section and modify the default search filter from (&(objectClass=User)(objectcategory=person)) to the search filter specific to your requirement to include / exclude OU
Include Only:
Users:
(&(objectClass=User)(objectcategory=person)(msDS-parentdistname=OU=ParentOU,DC=domain,DC=com))
User Groups:
(&(objectCategory=group)(msDS-parentdistname=OU=ParentOU,DC=domain,DC=com))
Exclude Only:
Users:
(&(objectClass=User)(objectcategory=person)(!(msDS-parentdistname=OU=ParentOU,DC=domain,DC=com)))
User Groups:
(&(objectCategory=group)(!(msDS-parentdistname=OU=ParentOU,DC=domain,DC=com)))
Please note: because extensible matching is not performed, only the users/groups that are present in the OU will be included or excluded. If wishing to include child OUs, they must be explicitly named.
Example:
Include Only:
(&(objectClass=User)(objectcategory=person)(|(msDS-parentdistname=OU=ParentOU,DC=domain,DC=com)(msDS-parentdistname=OU=Child1,OU=ParentOU,DC=domain,DC=com)(msDS-parentdistname=OU=SubChild,OU=Child1,OU=ParentOU,DC=domain,DC=com)(msDS-parentdistname=OU=Child2,OU=ParentOU,DC=domain,DC=com)))
Exclude Only:
(&(objectClass=User)(objectcategory=person)(!(|(msDS-parentdistname=OU=ParentOU,DC=domain,DC=com)(msDS-parentdistname=OU=Child1,OU=ParentOU,DC=domain,DC=com)(msDS-parentdistname=OU=SubChild,OU=Child1,OU=ParentOU,DC=domain,DC=com)(msDS-parentdistname=OU=Child2,OU=ParentOU,DC=domain,DC=com))))
- Once done, click Save and Finish for the changes to take effect.
- Login to the Security Console for the primary.
- Verify that required OU's are Included / excluded from the Microsoft LDAP Directory.
Notes
How to exclude RSA Authentication Manager 8.x from picking up disabled user account data from the Microsoft LDAP directory
Active Directory: LDAP Syntax Filters.
msDs-parentdistname attribute
AD does not support extensible matching
Related Articles
Leaver Rule–Deprovision is not moving Disabled Accounts to the Disabled OU in RSA Governance & Lifecycle 11Number of Views Publishing certificates with multiple OU values 12Number of Views How to publish CA certificate and user certificate under the same OU ? 7Number of Views Certificate not verified error when changing Active Directory identity source from LDAP to LDAPS in RSA Authentication Man… 643Number of Views Guide to Microsoft Active Directory LDAP synchronization with RSA Authentication Manager 297Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?