ClaroDocs
IT & DevOps

LDAP Directory Sync

Sync each user's manager into Claro from an LDAP or Active Directory server.

LDAP Directory Sync: Manager Setup Guide

This guide is for IT administrators who sync Claro users from an LDAP or Active Directory server and want Claro to pick up each user's manager as well. No coding knowledge is required.

If your users come from Microsoft Entra ID, Okta or another SCIM identity provider instead, see SCIM Provisioning.

What This Does

When manager sync is on, every directory sync also sets each user's manager in Claro from the directory. Claro uses the manager for manager-facing views, such as the manager dashboard and its reports.

Manager Sync Is Opt-In

Manager sync is controlled by the Sync managers from the directory switch in Settings > Directory Sync. You need the Tenant Admin role to change it.

  • Configurations saved before 2026-10-12 have it switched off. Claro does not start changing managers on its own after an upgrade. Turn the switch on when you are ready
  • A new directory configuration has the switch on by default. Turn it off before saving if you manage managers by hand in Claro

To turn it on:

  1. Go to Settings > Directory Sync
  2. Turn on Sync managers from the directory
  3. Check the Manager attribute field (see below)
  4. Save the configuration, then click Run sync now, or wait for the next scheduled sync

The Manager Attribute

The Manager attribute is the LDAP attribute that names each user's manager. In Active Directory it is usually manager, which is the default.

The attribute may hold either:

  • The manager's DN (distinguished name), as Active Directory stores it, for example CN=Siti Rahayu,OU=Finance,DC=example,DC=co,DC=id. Differences in letter case or spacing around commas do not matter, or
  • The manager's email address

Either way, the manager must be a user that the same sync fetches: inside your Base DN and matched by your User filter. A manager outside that scope is not set.

How Manager Updates Behave

What the directory saysWhat Claro does
Names a manager the sync also fetchedSets that person as the user's manager, replacing any previous one
Names a manager outside the sync scope, or one that matches nobodyLeaves the user's manager as it was
Lists no manager for the userLeaves the user's manager as it was, so a manager an admin set by hand in Claro is kept
The manager was removed from the user in the directoryNot cleared in Claro. The previous manager stays until the directory names a new one, or an admin changes it in Claro

Because a removed manager is not cleared, if someone's manager is taken away in the directory without a replacement, update that user's manager in Claro by hand.

Troubleshooting

IssueSolution
No managers appear after a syncCheck that Sync managers from the directory is on. It is off for every configuration saved before 2026-10-12.
Some users have no managerTheir manager is outside the Base DN or the User filter, or the manager attribute is empty for them. Widen the scope or fill in the attribute.
The sync log says managers could not be updatedUsers were still synced. Run the sync again to apply the managers.
A manager was removed in the directory but not in ClaroExpected: Claro never clears a manager on its own from LDAP. Change it in Claro by hand.