[PR #1845] [MERGED] New management command to import LDAP accounts. #2311

Closed
opened 2026-02-27 12:10:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/modoboa/modoboa/pull/1845
Author: @tonioo
Created: 2/20/2020
Status: Merged
Merged: 2/24/2020
Merged by: @tonioo

Base: masterHead: feature/ldap_import_command


📝 Commits (6)

📊 Changes

8 files changed (+236 additions, -46 deletions)

View changed files

📝 modoboa/core/app_settings.py (+84 -43)
📝 modoboa/core/tests/test_views.py (+4 -0)
📝 modoboa/ldapsync/lib.py (+94 -0)
modoboa/ldapsync/management/__init__.py (+0 -0)
modoboa/ldapsync/management/commands/__init__.py (+0 -0)
modoboa/ldapsync/management/commands/import_from_ldap_directory.py (+20 -0)
📝 modoboa/ldapsync/tests.py (+32 -2)
📝 test_data/base.ldif (+2 -1)

📄 Description

see #1844


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/modoboa/modoboa/pull/1845 **Author:** [@tonioo](https://github.com/tonioo) **Created:** 2/20/2020 **Status:** ✅ Merged **Merged:** 2/24/2020 **Merged by:** [@tonioo](https://github.com/tonioo) **Base:** `master` ← **Head:** `feature/ldap_import_command` --- ### 📝 Commits (6) - [`b0c0ef4`](https://github.com/modoboa/modoboa/commit/b0c0ef4a65f3f2a5816042258482d482abf8f1a1) New management command to import LDAP accounts. - [`d15ad2a`](https://github.com/modoboa/modoboa/commit/d15ad2aa2ca7dc30895f939992a7f62fb20c684c) Fixed unit tests. - [`115943e`](https://github.com/modoboa/modoboa/commit/115943e6efbd287aa55b9a2aca7abddcdb1e5e6d) Fixed unit tests - [`6205395`](https://github.com/modoboa/modoboa/commit/62053954d225ff4f7f62ea6979c41b856f47b0ef) Added missing setting. - [`f59c761`](https://github.com/modoboa/modoboa/commit/f59c761144d2310c73d53b46223440fd379378d2) memberuid is a username, not a DN. - [`cd6cd30`](https://github.com/modoboa/modoboa/commit/cd6cd3010ac5f79da09e0a50d47d40392bbeb9f1) Fixed test. ### 📊 Changes **8 files changed** (+236 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `modoboa/core/app_settings.py` (+84 -43) 📝 `modoboa/core/tests/test_views.py` (+4 -0) 📝 `modoboa/ldapsync/lib.py` (+94 -0) ➕ `modoboa/ldapsync/management/__init__.py` (+0 -0) ➕ `modoboa/ldapsync/management/commands/__init__.py` (+0 -0) ➕ `modoboa/ldapsync/management/commands/import_from_ldap_directory.py` (+20 -0) 📝 `modoboa/ldapsync/tests.py` (+32 -2) 📝 `test_data/base.ldif` (+2 -1) </details> ### 📄 Description see #1844 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 12:10:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#2311
No description provided.