6330N/A<?xml version="1.0" encoding="UTF-8"?>
6330N/A<!--
6330N/A ! CCPL HEADER START
6330N/A !
6330N/A ! This work is licensed under the Creative Commons
6330N/A ! Attribution-NonCommercial-NoDerivs 3.0 Unported License.
6330N/A ! To view a copy of this license, visit
6330N/A ! http://creativecommons.org/licenses/by-nc-nd/3.0/
6330N/A ! or send a letter to Creative Commons, 444 Castro Street,
6330N/A ! Suite 900, Mountain View, California, 94041, USA.
6330N/A !
6330N/A ! You can also obtain a copy of the license at
6330N/A ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt.
6330N/A ! See the License for the specific language governing permissions
6330N/A ! and limitations under the License.
6330N/A !
6330N/A ! If applicable, add the following below this CCPL HEADER, with the fields
6330N/A ! enclosed by brackets "[]" replaced with your own identifying information:
6330N/A ! Portions Copyright [yyyy] [name of copyright owner]
6330N/A !
6330N/A ! CCPL HEADER END
6330N/A !
6330N/A ! Copyright 2011-2012 ForgeRock AS
6330N/A ! Portions Copyright 2013 Jens Elkner
6330N/A !
6330N/A-->
6330N/A<refentry xml:id="make-ldif-1" xmlns="http://docbook.org/ns/docbook"
6330N/A version="5.0" xml:lang="en"
6330N/A xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6330N/A xsi:schemaLocation="http://docbook.org/ns/docbook http://docbook.org/xml/5.0/xsd/docbook.xsd"
6330N/A xmlns:xlink="http://www.w3.org/1999/xlink"
6330N/A xmlns:xi="http://www.w3.org/2001/XInclude">
6330N/A <xi:include href="common.xml" xpointer='xpointer(//info[@name="info"])'/>
6330N/A <refmeta>
6330N/A <refentrytitle><application>make-ldif</application></refentrytitle>
6330N/A <xi:include href="common.xml" xpointer='xpointer(//manvolnum[@name="v1m"])'/>
6330N/A </refmeta>
6330N/A <refnamediv>
6330N/A <refname><application>make-ldif</application></refname>
6330N/A <refpurpose>generate test LDIF</refpurpose>
6330N/A </refnamediv>
6330N/A <refsynopsisdiv>
6330N/A <cmdsynopsis>
6330N/A <command>make-ldif</command>
6330N/A <arg>-o <replaceable class="parameter">outfile</replaceable></arg>
6330N/A <arg>-s <replaceable class="parameter">seed</replaceable></arg>
6330N/A <arg>-t <replaceable class="parameter">templFile</replaceable></arg>
6330N/A <xi:include href="common.xml" xpointer='xpointer(//para[@name="s-general"]/*)'/>
6330N/A </cmdsynopsis>
6330N/A </refsynopsisdiv>
6330N/A <refsection>
6330N/A <title>Description</title>
6330N/A <para>
6330N/AThis utility can be used to generate LDIF data based on a definition in a
6330N/Atemplate file.
6330N/A </para>
6330N/A </refsection>
6330N/A <refsection>
6330N/A <title>Options</title>
6330N/A <para>The following options are supported.</para>
6330N/A <variablelist>
6330N/A <varlistentry>
6330N/A <term><option>-o, --ldifFile</option> <replaceable
6330N/A class="parameter">file</replaceable></term>
6330N/A <listitem>
6330N/A <para>
6330N/AThe path to the LDIF file to be written.
6330N/A </para>
6330N/A </listitem>
6330N/A </varlistentry>
6330N/A <varlistentry>
6330N/A <term><option>-s, --randomSeed</option> <replaceable
6330N/A class="parameter">seed</replaceable></term>
6330N/A <listitem>
6330N/A <para>
6330N/AThe seed to use to initialize the random number generator (Default: 0).
6330N/A </para>
6330N/A </listitem>
6330N/A </varlistentry>
6330N/A <varlistentry>
6330N/A <term><option>-t, --templateFile</option> <replaceable
6330N/A class="parameter">file</replaceable></term>
6330N/A <listitem>
6330N/A <para>
6330N/AThe path to the template file with information about the LDIF data to generate.
6330N/A </para>
6330N/A </listitem>
6330N/A </varlistentry>
6330N/A </variablelist>
6330N/A <refsection>
6330N/A <title>General Options</title>
6330N/A <variablelist>
6330N/A <xi:include href="common.xml"
6330N/A xpointer='xpointer(//para[@name="l-general"]/*)'/>
6330N/A </variablelist>
6330N/A </refsection>
6330N/A </refsection>
6330N/A
6330N/A <refsection>
6330N/A <title>Examples</title>
6330N/A <informalexample>
6330N/A <para>
6330N/AThe following example uses the default template to generate LDIF.
6330N/A </para>
6330N/A <literallayout><prompt
6330N/A>$ </prompt><command>make-ldif -t config/MakeLDIF/example.template \
6330N/A -o /tmp/ldif/generated.ldif</command></literallayout>
6330N/A <screen>
6330N/AProcessed 1000 entries
6330N/AProcessed 2000 entries
6330N/A...
6330N/AProcessed 10000 entries
6330N/ALDIF processing complete. 10003 entries written
6330N/A</screen>
6330N/A </informalexample>
6330N/A </refsection>
6330N/A <xi:include href="common.xml" xpointer='xpointer(//refsection[@name="env"])'/>
6330N/A <xi:include href="common.xml" xpointer='xpointer(//refsection[@name="exit-0-gt0"])'/>
6330N/A <refsection>
6330N/A <title>See Also</title>
6330N/A <para>
6330N/A<citerefentry><refentrytitle>make-ldif-template</refentrytitle><xi:include
6330N/A href="common.xml" xpointer='xpointer(//manvolnum[@name="v5"])'/>
6330N/A</citerefentry>,
6330N/A<citerefentry><refentrytitle>opendj</refentrytitle><xi:include
6330N/A href="common.xml" xpointer='xpointer(//manvolnum[@name="v5"])'/>
6330N/A</citerefentry>
6330N/A </para>
6330N/A </refsection>
6330N/A</refentry>