NAME

dochazka-ldap-sync-all - syncs the profiles of all LDAP-enabled employees

SYNOPSIS

Sync all LDAP-enabled Dochazka employees from the LDAP database.

dochazka-ldap-sync-all [--quiet]

The script should be run on an App::Dochazka::REST server that has been configured to use LDAP.

DESCRIPTION

The script first queries the Dochazka database for a list of all employees whose "sync" property is true ("LDAP-enabled employees").

The script then loops over these employees, syncing each employee from LDAP and updating the employee record if anything has changed.