Define LDAP organizational units
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- Platform Security
An organizational unit (OU) definition specifies the LDAP source directories available to the integration.
Before you begin
Role required: admin.
About this task
OU definitions can contain locations, people, or user groups. Every LDAP server definition contains two sample OU definitions: one for importing groups into the system and the other for users.
Procedure
Example: Example organizational unit definitions
Suppose you have an LDAP server with the following directory structure:
dc=my-domain,dc=com
- ou=Groups
- cn=Development
- cn=HR
- cn=Sales
- ou=Users
- ou=Development
- ou=HR
- ou=Sales
Further suppose that you want to exclude the HR group and HR users from the application. Do the following:
- Create an LDAP server record with a starting search directory of dc=my-domain,dc=com.
- Create an OU definition record for ou=Groups with a filter to exclude cn=HR.
- Create an OU definition record for ou=Users with a filter to exclude ou=HR.
If you do not specify additional attributes or filters with an OU definition, the LDAP query returns the entire sub-tree from the starting directory and RDN.
In these examples, an OU definition with the RDN value of ou=Groups and no filter would have returned all groups. Likewise, an OU definition with the RDN value of ou=Users and no filter would have returned all users and child organizational units.