0b3122ab327df3071460e8f957237ca09090ddac
[samba.git] / source / lib / ldb / man / ldbadd.1.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
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(7) 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(7) 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(7), ldbmodify, ldbdel, ldif(5)</para>
85
86 </refsect1>
87
88 <refsect1>
89         <title>AUTHOR</title>
90
91         &man.credits.samba;
92
93         <para>ldbadd was written by Andrew Tridgell.</para>
94
95         <para>This manpage was written by Jelmer Vernooij.</para>
96         
97 </refsect1>
98
99 </refentry>