7321N/A<?xml version="1.0" encoding="UTF-8"?>
7321N/A<!--
7321N/A ! CCPL HEADER START
7321N/A !
7321N/A ! This work is licensed under the Creative Commons
7321N/A ! Attribution-NonCommercial-NoDerivs 3.0 Unported License.
7321N/A ! To view a copy of this license, visit
7321N/A ! http://creativecommons.org/licenses/by-nc-nd/3.0/
7321N/A ! or send a letter to Creative Commons, 444 Castro Street,
7321N/A ! Suite 900, Mountain View, California, 94041, USA.
7321N/A !
7321N/A ! You can also obtain a copy of the license at
7321N/A ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt.
7321N/A ! See the License for the specific language governing permissions
7321N/A ! and limitations under the License.
7321N/A !
7321N/A ! If applicable, add the following below this CCPL HEADER, with the fields
7321N/A ! enclosed by brackets "[]" replaced with your own identifying information:
7321N/A ! Portions Copyright [yyyy] [name of copyright owner]
7321N/A !
7321N/A ! CCPL HEADER END
7321N/A !
7321N/A ! Copyright 2011-2015 ForgeRock AS.
7321N/A !
7321N/A-->
7321N/A<refentry xml:id='make-ldif-1'
7321N/A xmlns='http://docbook.org/ns/docbook'
7321N/A version='5.0' xml:lang='en'
7321N/A xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
7321N/A xsi:schemaLocation='http://docbook.org/ns/docbook
7321N/A http://docbook.org/xml/5.0/xsd/docbook.xsd'
7321N/A xmlns:xlink='http://www.w3.org/1999/xlink'>
7321N/A <info><copyright><year>2011-2015</year><holder>ForgeRock AS.</holder></copyright></info>
7321N/A <refmeta>
7321N/A <refentrytitle>make-ldif</refentrytitle><manvolnum>1</manvolnum>
7321N/A <refmiscinfo class="software">OpenDJ</refmiscinfo>
7321N/A <refmiscinfo class="version"><?eval ${docTargetVersion}?></refmiscinfo>
7321N/A </refmeta>
7321N/A <refnamediv>
7321N/A <refname>make-ldif</refname>
7321N/A <refpurpose>generate test LDIF</refpurpose>
7321N/A </refnamediv>
7321N/A <refsynopsisdiv>
7321N/A <cmdsynopsis>
7321N/A <command>make-ldif</command>
7321N/A <arg choice="req">options</arg>
7321N/A </cmdsynopsis>
7321N/A </refsynopsisdiv>
7321N/A <refsect1>
7321N/A <title>Description</title>
7321N/A <para>This utility can be used to generate LDIF data based on a definition
7321N/A in a template file.</para>
7321N/A </refsect1>
7321N/A <refsect1>
7321N/A <title>Options</title>
7321N/A <para>The following options are supported.</para>
7321N/A <variablelist>
7321N/A <varlistentry>
7321N/A <term><option>-o, --ldifFile {file}</option></term>
7321N/A <listitem>
7321N/A <para>The path to the LDIF file to be written.</para>
7321N/A </listitem>
7321N/A </varlistentry>
7321N/A <varlistentry>
7321N/A <term><option>-s, --randomSeed {seed}</option></term>
7321N/A <listitem>
7321N/A <para>The seed to use to initialize the random number generator.</para>
7321N/A <para>Default value: 0</para>
7321N/A </listitem>
7321N/A </varlistentry>
7321N/A <varlistentry>
7321N/A <term><option>-t, --templateFile {file}</option></term>
7321N/A <listitem>
7321N/A <para>The path to the template file with information about the LDIF data
7321N/A to generate.</para>
7321N/A </listitem>
7321N/A </varlistentry>
7321N/A <varlistentry>
7321N/A <term><option>-V, --version</option></term>
7321N/A <listitem>
7321N/A <para>Display version information.</para>
7321N/A </listitem>
7321N/A </varlistentry>
7321N/A <varlistentry>
7321N/A <term><option>-?, -H, --help</option></term>
7321N/A <listitem>
7321N/A <para>Display usage information.</para>
7321N/A </listitem>
7321N/A </varlistentry>
7321N/A </variablelist>
7321N/A </refsect1>
7321N/A <refsect1>
7321N/A <title>Exit Codes</title>
7321N/A <variablelist>
7321N/A <varlistentry>
7321N/A <term>0</term>
7321N/A <listitem>
7321N/A <para>The command completed successfully.</para>
7321N/A </listitem>
7321N/A </varlistentry>
7321N/A <varlistentry>
7321N/A <term>&gt; 0</term>
7321N/A <listitem>
7321N/A <para>An error occurred.</para>
7321N/A </listitem>
7321N/A </varlistentry>
7321N/A </variablelist>
7321N/A </refsect1>
7321N/A <refsect1>
7321N/A <title>Examples</title>
7321N/A <para>The following example uses the default template to generate LDIF.</para>
7321N/A
7321N/A <screen>
7321N/A$ <userinput>make-ldif -t /config/MakeLDIF/example.template -o /ldif/generated.ldif</userinput>
7321N/A<computeroutput>Processed 1000 entries
7321N/AProcessed 2000 entries
7321N/A...
7321N/AProcessed 10000 entries
7321N/ALDIF processing complete. 10003 entries written</computeroutput>
7321N/A </screen>
7321N/A </refsect1>
7321N/A <refsect1>
7321N/A <title>See Also</title>
7321N/A <para><link xlink:href="reference#make-ldif-template-5"
7321N/A xlink:role="http://docbook.org/xlink/role/olink"><citerefentry><refentrytitle
7321N/A >make-ldif.template</refentrytitle><manvolnum>5</manvolnum
7321N/A ></citerefentry></link></para>
7321N/A </refsect1>
7321N/A</refentry>