mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[PR #2257] [CLOSED] Fixed a bug that was preventing modoboa from properly importing users from an LDAP connection. (modoboa#2239) #2490
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#2490
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/2257
Author: @ScionOfDesign
Created: 6/3/2021
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
e795708Fixed a bug that was preventing modoboa from properly importing users from an LDAP connection. (modoboa#2239)bd99b68Added an example of some additional functionality I'd like to see.📊 Changes
3 files changed (+28 additions, -11 deletions)
View changed files
📝
modoboa/core/app_settings.py(+13 -5)📝
modoboa/core/models.py(+2 -2)📝
modoboa/core/views/auth.py(+13 -4)📄 Description
Description of the issue/feature this PR addresses:
The configuration parameter
ldap_enable_syncwas being queried when it should have beenldap_enable_import. (modoboa#2239)This caused modoboa to attempt to login to the LDAP server with an empty password in an attempt to change said password.
Current behavior before PR:
modoboa would throw an
INVALID_CREDENTIALSerror from failing to login to the LDAP server with an empty password.Desired behavior after PR is merged:
modoboa will successfully update the local password to match the remote LDAP password.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.