mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[PR #1876] [MERGED] LDAP Authentication - Webmail / Dovecot #2315
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2315
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/1876
Author: @ClemRiviere
Created: 4/15/2020
Status: ✅ Merged
Merged: 5/5/2020
Merged by: @tonioo
Base:
master← Head:sync_dovecot_ldap📝 Commits (6)
6405c69Adding settings options for dovecot ldap syncdc9cf1bCreating update_dovecot_conf commanda65514aAdding async command to update dovecot ldap conf66625bcAdding unit testsdb2daebAdding port to dovecot generated uris & unit tests86b0f5dCode improvement & doc update & tests update📊 Changes
10 files changed (+239 additions, -2 deletions)
View changed files
📝
doc/manual_installation/dovecot.rst(+43 -0)➕
modoboa/admin/tests/test_need_dovecot_update.py(+84 -0)📝
modoboa/core/app_settings.py(+22 -1)➕
modoboa/core/migrations/0021_localconfig_need_dovecot_update.py(+18 -0)📝
modoboa/core/models.py(+3 -0)📝
modoboa/core/tests/test_views.py(+2 -1)📝
modoboa/core/views/admin.py(+1 -0)📝
modoboa/ldapsync/lib.py(+38 -0)➕
modoboa/ldapsync/management/commands/update_dovecot_conf.py(+25 -0)📝
modoboa/parameters/forms.py(+3 -0)📄 Description
Resolves #1800
Current behavior before PR:
If LDAP authentication is configured, webmail not working : authentication error
The problem is that dovecot uses databases to check authentication. It would be nice if LDAP is configured that the configuration install dovecot-ldap module and generate the configuration file.
I manually update dovecot configuration and everything is working.
Desired behavior after PR is merged:
dovecot LDAP config is synchronized with modoboa LDAP config
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.