<arg choice="opt">-P account-policy</arg>
<arg choice="opt">-C value</arg>
<arg choice="opt">-c account-control</arg>
+ <arg choice="opt">-y</arg>
</cmdsynopsis>
</refsynopsisdiv>
</programlisting></para>
</listitem>
</varlistentry>
-
+
+ <varlistentry>
+ <term>-y</term>
+ <listitem><para>If you specify <parameter>-y</parameter>,
+ then <parameter>-i in-backend -e out-backend</parameter>
+ applies to the account policies instead of the user database.</para>
+
+ <para>This option will allow to migrate account policies from their default
+ tdb-store into a passdb backend, e.g. an LDAP directory server.</para>
+
+ <para>Example: <command>pdbedit -y -i tdbsam: -e ldapsam:ldap://my.ldap.host</command></para>
+
+ </listitem>
+ </varlistentry>
+
&stdarg.help;
&popt.common.samba;