dochazka-ldap-batch-create - create Dochazka employee records for a list of LDAP users
Quickly create three Dochazka employees, provided they are already in LDAP:
dochazka-ldap-batch-create [one or more usernames]
For example:
dochazka-ldap-batch-create perry dochazka-ldap-batch-create hans mojo avenger
The script should be run on an App::Dochazka::REST server that has been configured to use LDAP.
Sometimes there is a need to quickly create Dochazka employee records for an arbitrary number of LDAP users.
For example, if "hans", "mojo", and "avenger" are valid LDAP users and the local App::Dochazka::REST instance has been properly configured to work with an LDAP database, the following command will create three employees with nicks "hans", "mojo", and "avenger":
dochazka-ldap-batch-create hans mojo avenger
The employee's "sync" property will be set to true.
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.