dochazka-ldap-sync-all - syncs the profiles of all LDAP-enabled employees
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.
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.
To install App::Dochazka::REST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Dochazka::REST
CPAN shell
perl -MCPAN -e shell install App::Dochazka::REST
For more information on module installation, please visit the detailed CPAN module installation guide.