summaryrefslogtreecommitdiff
path: root/docs/docbook/manpages/pdbedit.8.sgml
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-09-26 19:33:30 +0000
committerGerald Carter <jerry@samba.org>2002-09-26 19:33:30 +0000
commit13f7c502149f184089117a061f5238901df45f8b (patch)
treedb852608e1e9e1f66b68c6fd52233693883d8bd8 /docs/docbook/manpages/pdbedit.8.sgml
parent7d1eb6f7b62300e2f0a84f045f5885118c6ffa1b (diff)
downloadsamba-13f7c502149f184089117a061f5238901df45f8b.tar.gz
samba-13f7c502149f184089117a061f5238901df45f8b.tar.bz2
samba-13f7c502149f184089117a061f5238901df45f8b.zip
syncing with HEAD some more
(This used to be commit 805a89fbb771659ce9d397daad59f47d8b5fefcc)
Diffstat (limited to 'docs/docbook/manpages/pdbedit.8.sgml')
-rw-r--r--docs/docbook/manpages/pdbedit.8.sgml36
1 files changed, 28 insertions, 8 deletions
diff --git a/docs/docbook/manpages/pdbedit.8.sgml b/docs/docbook/manpages/pdbedit.8.sgml
index eeb1fb0d2c..213275b7cc 100644
--- a/docs/docbook/manpages/pdbedit.8.sgml
+++ b/docs/docbook/manpages/pdbedit.8.sgml
@@ -27,7 +27,10 @@
<arg choice="opt">-a</arg>
<arg choice="opt">-m</arg>
<arg choice="opt">-x</arg>
- <arg choice="opt">-i file</arg>
+ <arg choice="opt">-i passdb-backend</arg>
+ <arg choice="opt">-e passdb-backend</arg>
+ <arg choice="opt">-b passdb-backend</arg>
+ <arg choice="opt">-D debuglevel</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -233,18 +236,35 @@
<varlistentry>
- <term>-i file</term>
- <listitem><para>This command is used to import a smbpasswd
- file into the database.</para>
+ <term>-i passdb-backend</term>
+ <listitem><para>Use a different passdb backend to retrieve users than the one specified in smb.conf. Can be used to import data into your
+ local user database.</para>
- <para>This option will ease migration from the plain smbpasswd
- file database to more powerful backend databases like tdb and
- ldap.</para>
+ <para>This option will ease migration from one passdb backend to another.
+ </para>
- <para>Example: <command>pdbedit -i /etc/smbpasswd.old</command>
+ <para>Example: <command>pdbedit -i smbpasswd:/etc/smbpasswd.old</command>
</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>-e passdb-backend</term>
+ <listitem><para>Export all currently available users to the specified password database backend.</para>
+
+ <para>This option will ease migration from one passdb backend to another and will ease backupping</para>
+
+ <para>Example: <command>pdbedit -e smbpasswd:/root/samba-users.backup</command></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-b passdb-backend</term>
+ <listitem><para>Use a different default passdb backend. </para>
+
+ <para>Example: <command>pdbedit -b xml:/root/pdb-backup.xml -l</command></para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>