import-ldif-examples.xml revision 73adb2e3dbaa8a9f6448cefccb7933f68c3c7348
19033N/A<?xml version="1.0" encoding="UTF-8"?>
19033N/A<!--
19033N/A ! CDDL HEADER START
19033N/A !
19033N/A ! The contents of this file are subject to the terms of the
19033N/A ! Common Development and Distribution License, Version 1.0 only
19033N/A ! (the "License"). You may not use this file except in compliance
19033N/A ! with the License.
19033N/A !
19033N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
19033N/A ! or http://forgerock.org/license/CDDLv1.0.html.
19033N/A ! See the License for the specific language governing permissions
19033N/A ! and limitations under the License.
19033N/A !
19033N/A ! When distributing Covered Code, include this CDDL HEADER in each
19033N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
19033N/A ! If applicable, add the following below this CDDL HEADER, with the
19033N/A ! fields enclosed by brackets "[]" replaced with your own identifying
19033N/A ! information:
19033N/A ! Portions Copyright [yyyy] [name of copyright owner]
19033N/A !
19033N/A ! CDDL HEADER END
19033N/A !
19033N/A ! Copyright 2015 ForgeRock AS.
19033N/A !
19033N/A-->
19033N/A<refsect1 xmlns="http://docbook.org/ns/docbook"
19033N/A version="5.0" xml:lang="en"
19033N/A xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19033N/A xsi:schemaLocation="http://docbook.org/ns/docbook
19033N/A http://docbook.org/xml/5.0/xsd/docbook.xsd">
19033N/A <title>Examples</title>
19033N/A
19033N/A <para>
19033N/A The following example imports the content of a file, <filename>Example.ldif</filename>,
19033N/A with the server offline.
19033N/A </para>
19033N/A
19033N/A <screen>
19033N/A$ <userinput>import-ldif -b dc=example,dc=com -n userRoot -l /path/to/Example.ldif</userinput>
19033N/A<computeroutput>... category=RUNTIME_INFORMATION severity=NOTICE...
19033N/A... msg=Import LDIF environment close took 0 seconds</computeroutput>
19033N/A </screen>
19033N/A</refsect1>
19033N/A