summaryrefslogtreecommitdiff
path: root/docs/docbook/manpages/pdbedit.8.sgml
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-04-15 08:50:36 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-04-15 08:50:36 +0000
commit6d239fc97fb95033d590ee214d1e58f89ea6d269 (patch)
tree3bba617be2f022ec43f980378aace05bd7b9d311 /docs/docbook/manpages/pdbedit.8.sgml
parentb84cce809baceeb7a24b3a98e9bef47279aad3ca (diff)
downloadsamba-6d239fc97fb95033d590ee214d1e58f89ea6d269.tar.gz
samba-6d239fc97fb95033d590ee214d1e58f89ea6d269.tar.bz2
samba-6d239fc97fb95033d590ee214d1e58f89ea6d269.zip
Another patch from jelmer:
Doco for pdbedit and (ugly, but the best we could come up with) fix for compiling pdbedit on some non-gcc compilers. Andrew Bartlett (This used to be commit 80adf1dbb56cf8bdbfbcc2c8c7b670c0a23c97f8)
Diffstat (limited to 'docs/docbook/manpages/pdbedit.8.sgml')
-rw-r--r--docs/docbook/manpages/pdbedit.8.sgml26
1 files changed, 18 insertions, 8 deletions
diff --git a/docs/docbook/manpages/pdbedit.8.sgml b/docs/docbook/manpages/pdbedit.8.sgml
index eeb1fb0d2c..3f6023d16f 100644
--- a/docs/docbook/manpages/pdbedit.8.sgml
+++ b/docs/docbook/manpages/pdbedit.8.sgml
@@ -27,7 +27,9 @@
<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">-D debuglevel</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -233,18 +235,26 @@
<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.</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 -e tdbsam:/etc/samba/passwd.tdb</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>
</variablelist>
</refsect1>