summaryrefslogtreecommitdiff
path: root/docs/docbook/manpages
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-10-24 13:30:45 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-10-24 13:30:45 +0000
commitaf09297cbc1f8aa046847728077b34f9a5186872 (patch)
treec2feb5e715352ff5b80e7af083bba761d64023f9 /docs/docbook/manpages
parent158ae87aa9e530c3dc784ebfb3715c2ae254fd31 (diff)
downloadsamba-af09297cbc1f8aa046847728077b34f9a5186872.tar.gz
samba-af09297cbc1f8aa046847728077b34f9a5186872.tar.bz2
samba-af09297cbc1f8aa046847728077b34f9a5186872.zip
Document -P and -V (patch from Guenther Deschner <gd@suse.de>)
(This used to be commit 5845f17c927a84ba502c834b3a38499959b7ae40)
Diffstat (limited to 'docs/docbook/manpages')
-rw-r--r--docs/docbook/manpages/pdbedit.8.sgml32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/docbook/manpages/pdbedit.8.sgml b/docs/docbook/manpages/pdbedit.8.sgml
index 45ccbaee64..fd8ce375e5 100644
--- a/docs/docbook/manpages/pdbedit.8.sgml
+++ b/docs/docbook/manpages/pdbedit.8.sgml
@@ -31,6 +31,8 @@
<arg choice="opt">-e passdb-backend</arg>
<arg choice="opt">-b passdb-backend</arg>
<arg choice="opt">-D debuglevel</arg>
+ <arg choice="opt">-P account-policy</arg>
+ <arg choice="opt">-V value</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -268,6 +270,36 @@
<para>Example: <command>pdbedit -b xml:/root/pdb-backup.xml -l</command></para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>-P account-policy</term>
+ <listitem><para>Display an account policy</para>
+ <para>Valid policies are: minimum password age, reset count minutes, disconnect time,
+ user must logon to change password, password history, lockout duration, min password length,
+ maximum password age and bad lockout attempt.
+
+ <para>Example: <command>pdbedit -P "bad lockout attempt"</command></para>
+ <para><programlisting>
+ account policy value for bad lockout attempt is 0
+ </programlisting></para>
+
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-V account-policy-value</term>
+ <listitem><para>Sets an account policy to a specified value.
+ This option may only be used in conjunction
+ with the <parameter>-P</parameter> option.
+
+ <para>Example: <command>pdbedit -P "bad lockout attempt" -V 3</command></para>
+ <para><programlisting>
+ account policy value for bad lockout attempt was 0
+ account policy value for bad lockout attempt is now 3
+ </programlisting></para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>