Scroll to navigation

DOCHAZKA-LDAP-BATCH-CREATE(1) User Contributed Perl Documentation DOCHAZKA-LDAP-BATCH-CREATE(1)

NAME

dochazka-ldap-batch-create - create Dochazka employee records for a list of LDAP users

SYNOPSIS

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.

DESCRIPTION

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.

2024-03-27 perl v5.38.2