---
title: "Feature: Sync accounts from the directory"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791332289@main"
source: "Changelog/1.0.0/Feature-1791332289-SyncAccountsFromTheDirectory.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Sync accounts from the directory {#feature-1791332289}

## Description {#description}

A directory provider now syncs its entries at the interval the admin sets (15 minutes to a day, default an hour) and
when an admin starts it (`startLdapSync`, with a dry run). The sync links each entry to the employee with its
work e-mail address or personnel number and to that employee's account, which it creates without a password where
none exists; it never creates employees. HR sees the entries without an employee (`listUnmatchedLdapEntries`) and
links one (`linkLdapEntry`). With `updateEmployeeFields` on, it updates given name, surname and work phone,
audited as changed by the directory.

## Impact {#impact}

The account of a linked entry the directory disabled, or that left the directory or its filter, is blocked with the
source `directory` and its sessions end; the block is lifted when the entry is back. A run that would block more
than a fifth of the linked accounts blocks no one, reports `massBlockPrevented` and notifies the admins
(`security.ldapSyncFailed`) until an admin starts it again with `confirmMassBlock`. Runs are listed with their
counts and errors (`listLdapSyncRuns`, `getLdapSyncRun`). New table `ldap_sync_run`.
