Document -P and -V (patch from Guenther Deschner <gd@suse.de>)
authorJelmer Vernooij <jelmer@samba.org>
Thu, 24 Oct 2002 13:30:45 +0000 (13:30 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 24 Oct 2002 13:30:45 +0000 (13:30 +0000)
(This used to be commit 5845f17c927a84ba502c834b3a38499959b7ae40)

docs/docbook/manpages/pdbedit.8.sgml

index 45ccbaee64a9935ebdef1a2701d1c418f3005845..fd8ce375e540e4b2d7041f4c9482881c3e68cd47 100644 (file)
@@ -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>
 
                <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>