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