Name

make-ldif — generate test LDIF

Synopsis

make-ldif {options}

Description

This utility can be used to generate LDIF data based on a definition in a template file.

Options

The following options are supported.

-o, --ldifFile {file}

The path to the LDIF file to be written.

-s, --randomSeed {seed}

The seed to use to initialize the random number generator.

Default value: 0

-t, --templateFile {file}

The path to the template file with information about the LDIF data to generate.

-V, --version

Display version information.

-?, -H, --help

Display usage information.

Exit Codes

0

The command completed successfully.

> 0

An error occurred.

Examples

The following example uses the default template to generate LDIF.

$ make-ldif -t ../config/MakeLDIF/example.template -o ../ldif/generated.ldif
Processed 1000 entries
Processed 2000 entries
...
Processed 10000 entries
LDIF processing complete.  10003 entries written