LDAP Authentication - Webmail / Dovecot (#1876)

* Adding settings options for dovecot ldap sync

* Creating update_dovecot_conf command

* Adding async command to update dovecot ldap conf

* Adding unit tests

* Adding port to dovecot generated uris & unit tests

* Code improvement & doc update & tests update
This commit is contained in:
Clément Rivière
2020-05-05 21:36:29 +02:00
committed by GitHub
parent 87931c4ab7
commit 8fa842d92c
10 changed files with 239 additions and 2 deletions
+3
View File
@@ -446,6 +446,9 @@ class LocalConfig(models.Model):
_parameters = jsonfield.JSONField(default={})
# Dovecot LDAP update
need_dovecot_update = models.BooleanField(default=False)
def __init__(self, *args, **kwargs):
"""Load parameter manager."""
super(LocalConfig, self).__init__(*args, **kwargs)