Feature: Sync accounts from the directory
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 (start, 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 (list) and
links one (link). With update on, it updates given name, surname and work phone,
audited as changed by the directory.
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 mass and notifies the admins
(security.) until an admin starts it again with confirm. Runs are listed with their
counts and errors (list, get). New table ldap_.