| 1 | <?xml version="1.0" encoding="iso-8859-1"?> | 
|---|
| 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> | 
|---|
| 3 | <refentry id="ldbadd.1"> | 
|---|
| 4 |  | 
|---|
| 5 | <refmeta> | 
|---|
| 6 | <refentrytitle>ldbadd</refentrytitle> | 
|---|
| 7 | <manvolnum>1</manvolnum> | 
|---|
| 8 | <refmiscinfo class="source">Samba</refmiscinfo> | 
|---|
| 9 | <refmiscinfo class="manual">User Commands</refmiscinfo> | 
|---|
| 10 | <refmiscinfo class="version">3.2</refmiscinfo> | 
|---|
| 11 | </refmeta> | 
|---|
| 12 |  | 
|---|
| 13 |  | 
|---|
| 14 | <refnamediv> | 
|---|
| 15 | <refname>ldbadd</refname> | 
|---|
| 16 | <refpurpose>Command-line utility for adding records to an LDB</refpurpose> | 
|---|
| 17 | </refnamediv> | 
|---|
| 18 |  | 
|---|
| 19 | <refsynopsisdiv> | 
|---|
| 20 | <cmdsynopsis> | 
|---|
| 21 | <command>ldbadd</command> | 
|---|
| 22 | <arg choice="opt">-h</arg> | 
|---|
| 23 | <arg choice="opt">-H LDB-URL</arg> | 
|---|
| 24 | <arg choice="opt">ldif-file1</arg> | 
|---|
| 25 | <arg choice="opt">ldif-file2</arg> | 
|---|
| 26 | <arg choice="opt">...</arg> | 
|---|
| 27 | </cmdsynopsis> | 
|---|
| 28 | </refsynopsisdiv> | 
|---|
| 29 |  | 
|---|
| 30 | <refsect1> | 
|---|
| 31 | <title>DESCRIPTION</title> | 
|---|
| 32 |  | 
|---|
| 33 | <para>ldbadd adds records to an ldb(7) database. It reads | 
|---|
| 34 | the ldif(5) files specified on the command line and adds | 
|---|
| 35 | the records from these files to the LDB database, which is specified | 
|---|
| 36 | by the -H option or the LDB_URL environment variable. | 
|---|
| 37 | </para> | 
|---|
| 38 |  | 
|---|
| 39 | <para>If - is specified as a ldb file, the ldif input is read from | 
|---|
| 40 | standard input.</para> | 
|---|
| 41 |  | 
|---|
| 42 | </refsect1> | 
|---|
| 43 |  | 
|---|
| 44 |  | 
|---|
| 45 | <refsect1> | 
|---|
| 46 | <title>OPTIONS</title> | 
|---|
| 47 |  | 
|---|
| 48 | <variablelist> | 
|---|
| 49 | <varlistentry> | 
|---|
| 50 | <term>-h</term> | 
|---|
| 51 | <listitem><para> | 
|---|
| 52 | Show list of available options.</para></listitem> | 
|---|
| 53 | </varlistentry> | 
|---|
| 54 |  | 
|---|
| 55 | <varlistentry> | 
|---|
| 56 | <term>-H <ldb-url></term> | 
|---|
| 57 | <listitem><para> | 
|---|
| 58 | LDB URL to connect to. See ldb(7) for details. | 
|---|
| 59 | </para></listitem> | 
|---|
| 60 | </varlistentry> | 
|---|
| 61 |  | 
|---|
| 62 | </variablelist> | 
|---|
| 63 |  | 
|---|
| 64 | </refsect1> | 
|---|
| 65 |  | 
|---|
| 66 | <refsect1> | 
|---|
| 67 | <title>ENVIRONMENT</title> | 
|---|
| 68 |  | 
|---|
| 69 | <variablelist> | 
|---|
| 70 | <varlistentry><term>LDB_URL</term> | 
|---|
| 71 | <listitem><para>LDB URL to connect to (can be overrided by using the | 
|---|
| 72 | -H command-line option.)</para></listitem> | 
|---|
| 73 | </varlistentry> | 
|---|
| 74 | </variablelist> | 
|---|
| 75 |  | 
|---|
| 76 | </refsect1> | 
|---|
| 77 |  | 
|---|
| 78 | <refsect1> | 
|---|
| 79 | <title>VERSION</title> | 
|---|
| 80 |  | 
|---|
| 81 | <para>This man page is correct for version 4.0 of the Samba suite.</para> | 
|---|
| 82 | </refsect1> | 
|---|
| 83 |  | 
|---|
| 84 | <refsect1> | 
|---|
| 85 | <title>SEE ALSO</title> | 
|---|
| 86 |  | 
|---|
| 87 | <para>ldb(7), ldbmodify, ldbdel, ldif(5)</para> | 
|---|
| 88 |  | 
|---|
| 89 | </refsect1> | 
|---|
| 90 |  | 
|---|
| 91 | <refsect1> | 
|---|
| 92 | <title>AUTHOR</title> | 
|---|
| 93 |  | 
|---|
| 94 | <para> ldb was written by | 
|---|
| 95 | <ulink url="http://samba.org/~tridge/">Andrew Tridgell</ulink>. | 
|---|
| 96 | </para> | 
|---|
| 97 |  | 
|---|
| 98 | <para> | 
|---|
| 99 | If you wish to report a problem or make a suggestion then please see | 
|---|
| 100 | the <ulink url="http://ldb.samba.org/"/> web site for | 
|---|
| 101 | current contact and maintainer information. | 
|---|
| 102 | </para> | 
|---|
| 103 |  | 
|---|
| 104 | <para>This manpage was written by Jelmer Vernooij.</para> | 
|---|
| 105 |  | 
|---|
| 106 | </refsect1> | 
|---|
| 107 |  | 
|---|
| 108 | </refentry> | 
|---|