<manvolnum>1</manvolnum>
<refmiscinfo class="source">Samba</refmiscinfo>
<refmiscinfo class="manual">System Administration tools</refmiscinfo>
- <refmiscinfo class="version">4.0</refmiscinfo>
+ <refmiscinfo class="version">&doc.version;</refmiscinfo>
</refmeta>
<cmdsynopsis>
<command>dbwrap_tool</command>
<arg choice="opt">--persistent</arg>
+ <arg choice="opt">--non-persistent</arg>
<arg choice="opt">-d <debug level></arg>
<arg choice="opt">-s <config file></arg>
<arg choice="opt">-l <log file base></arg>
<arg choice="req"><operation></arg>
<arg choice="opt"><key>
<arg choice="opt"><type>
- <arg choice="opt"><value></arg>
- </arg>
- </arg>
+ <arg choice="opt"><value></arg></arg></arg>
</cmdsynopsis>
</refsynopsisdiv>
<listitem><para>fetch: fetch a record</para></listitem>
<listitem><para>store: create or modify a record</para></listitem>
<listitem><para>delete: remove a record</para></listitem>
+ <listitem><para>exists: test for existence of a record</para></listitem>
<listitem><para>erase: remove all records</para></listitem>
<listitem><para>listkeys: list all available records</para></listitem>
<listitem><para>listwatchers: list processes, which are waiting for changes in a record</para></listitem>
<varlistentry>
<term>--persistent</term>
<listitem><para>Open the database as a persistent database.
- If this option is not specified, the database is opened as
- non-persistent.
+ </para>
+ <para>
+ Exactly one of --persistent and --non-persistent must be
+ specified.
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>--non-persistent</term>
+ <listitem><para>Open the database as a non-persistent database.
+ </para>
+ <para>
+ Caveat: opening a database as non-persistent when there
+ is currently no other opener will wipe the database.
+ </para>
+ <para>
+ Exactly one of --persistent and --non-persistent must be
+ specified.
</para></listitem>
</varlistentry>
&popt.common.samba.client;
- &stdarg.help;
+ &popt.autohelp;
</variablelist>
</refsect1>
<command>dbwrap_tool</command> <database> delete <key>
</cmdsynopsis>
</refsect2>
+ <refsect2>
+ <title>exists</title>
+ <cmdsynopsis>
+ <command>dbwrap_tool</command> <database> exists <key>
+ </cmdsynopsis>
+ </refsect2>
<refsect2>
<title>erase</title>
<cmdsynopsis>
<refsect1>
<title>VERSION</title>
- <para>This man page is correct for version 3 of the Samba suite.</para>
+ <para>This man page is part of version &doc.version; of the Samba suite.</para>
</refsect1>
<refsect1>