summaryrefslogtreecommitdiff
path: root/docs/docbook/manpages/pdbedit.8.sgml
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-25 15:15:32 +0000
committerGerald Carter <jerry@samba.org>2002-10-25 15:15:32 +0000
commitad0e01e75059bedde6400529f1a5193ef9735e9b (patch)
tree9d5dd6433ca7b564a7f29a44f4bed3168da35da3 /docs/docbook/manpages/pdbedit.8.sgml
parent48216962c4bd2ca71d1900d11d6f4d5e7de83b80 (diff)
downloadsamba-ad0e01e75059bedde6400529f1a5193ef9735e9b.tar.gz
samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.tar.bz2
samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.zip
sync from HEAD
(This used to be commit 2eb7f0acd761a11bb0f24010347247074c5ed49a)
Diffstat (limited to 'docs/docbook/manpages/pdbedit.8.sgml')
-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>