Fix incorrect iredapd plugin names.
This commit is contained in:
parent
9361f6155f
commit
8619bf1c47
|
@ -13,9 +13,9 @@ last change date will be set to `0000-00-00 00:00:00`.
|
|||
|
||||
iRedAPD has plugin to force mail users to change password before sending email:
|
||||
|
||||
* `sql_force_change_password_in_days`: for SQL backends (MySQL, MariaDB and
|
||||
* `sql_force_change_password`: for SQL backends (MySQL, MariaDB and
|
||||
PostgreSQL).
|
||||
* `ldap_force_change_password_in_days`: for LDAP backends (OpenLDAP and OpenBSD
|
||||
* `ldap_force_change_password`: for LDAP backends (OpenLDAP and OpenBSD
|
||||
built-in LDAP server `ldapd(8)`).
|
||||
|
||||
When user trying to send an email, iRedAPD will invoke this plugin to
|
||||
|
@ -30,10 +30,10 @@ To enable this plugin, please list the plugin name in iRedAPD config file
|
|||
|
||||
```python
|
||||
# For SQL backends
|
||||
plugins = [..., 'sql_force_change_password_in_days']
|
||||
plugins = [..., 'sql_force_change_password']
|
||||
|
||||
# For LDAP backends:
|
||||
plugins = [..., 'ldap_force_change_password_in_days']
|
||||
plugins = [..., 'ldap_force_change_password']
|
||||
```
|
||||
|
||||
There're two optional settings you can set in `/opt/iredapd/settings.py`:
|
||||
|
|
|
@ -35,9 +35,9 @@ didn't change password before, or user account is newly created, the password
|
|||
last change date will be set to <code>0000-00-00 00:00:00</code>.</p>
|
||||
<p>iRedAPD has plugin to force mail users to change password before sending email:</p>
|
||||
<ul>
|
||||
<li><code>sql_force_change_password_in_days</code>: for SQL backends (MySQL, MariaDB and
|
||||
<li><code>sql_force_change_password</code>: for SQL backends (MySQL, MariaDB and
|
||||
PostgreSQL).</li>
|
||||
<li><code>ldap_force_change_password_in_days</code>: for LDAP backends (OpenLDAP and OpenBSD
|
||||
<li><code>ldap_force_change_password</code>: for LDAP backends (OpenLDAP and OpenBSD
|
||||
built-in LDAP server <code>ldapd(8)</code>).</li>
|
||||
</ul>
|
||||
<p>When user trying to send an email, iRedAPD will invoke this plugin to
|
||||
|
@ -48,10 +48,10 @@ days, this plugin rejects smtp session with specified message.</p>
|
|||
<p>To enable this plugin, please list the plugin name in iRedAPD config file
|
||||
<code>/opt/iredapd/settings.py</code>, variable <code>plugins =</code>. For example:</p>
|
||||
<pre><code class="python"># For SQL backends
|
||||
plugins = [..., 'sql_force_change_password_in_days']
|
||||
plugins = [..., 'sql_force_change_password']
|
||||
|
||||
# For LDAP backends:
|
||||
plugins = [..., 'ldap_force_change_password_in_days']
|
||||
plugins = [..., 'ldap_force_change_password']
|
||||
</code></pre>
|
||||
|
||||
<p>There're two optional settings you can set in <code>/opt/iredapd/settings.py</code>:</p>
|
||||
|
|
Loading…
Reference in New Issue