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

  1. Navigate to All > System LDAP > LDAP Servers.
  2. Select the LDAP server to configure.
  3. In the LDAP OU Definitions related list, select either the Groups or Users sample OU definition.
  4. Complete the LDAP OU Definition form (see table).
  5. Click Update.
    The system automatically tests the connection to the LDAP server.
  6. Under Related Links, click Browse to view the LDAP directory records that the OU definition returns.
    LDAP OU definition form

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:

  1. Create an LDAP server record with a starting search directory of dc=my-domain,dc=com.
  2. Create an OU definition record for ou=Groups with a filter to exclude cn=HR.
  3. 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.