Resolve "[LDAP] Allow multiple search bases for users and groups"
Closes #249 (closed)
(Attention: Dependant MR in AlekSIS-App-LDAP)
Edited by Nik | Klampfradler
Merge request reports
Activity
added part::backend type::feature workflow::discussing labels
assigned to @hansegucker
@hansegucker and @debdolph Please test.
Login works, mass_ldap_import does not work.
Traceback (most recent call last): File "./manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "/srv/www/aleksis/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/srv/www/aleksis/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 395, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/www/aleksis/venv/lib/python3.7/site-packages/django/core/management/base.py", line 328, in run_from_argv self.execute(*args, **cmd_options) File "/srv/www/aleksis/venv/lib/python3.7/site-packages/django/core/management/base.py", line 369, in execute output = self.handle(*args, **options) File "/usr/src/AlekSIS/apps/official/AlekSIS-App-LDAP/aleksis/apps/ldap/management/commands/mass_ldap_import.py", line 8, in handle mass_ldap_import() File "/usr/lib/python3.7/contextlib.py", line 74, in inner return func(*args, **kwds) File "/usr/src/AlekSIS/apps/official/AlekSIS-App-LDAP/aleksis/apps/ldap/util/ldap_sync.py", line 322, in mass_ldap_import uid_field = re.search(r"([a-zA-Z]+)=%\(user\)s", backend.settings.USER_SEARCH.filterstr).group( AttributeError: 'LDAPSearchUnion' object has no attribute 'filterstr'
mentioned in merge request AlekSIS-App-LDAP!13 (merged)
added 84 commits
-
9f054d1a...17bbde04 - 83 commits from branch
master
- 364bda4c - Merge branch 'master' into 249-ldap-allow-multiple-search-bases-for-users-and-groups
-
9f054d1a...17bbde04 - 83 commits from branch
added 87 commits
-
8556b6e7...d801f952 - 86 commits from branch
master
- a5f1942b - Merge branch 'master' into 249-ldap-allow-multiple-search-bases-for-users-and-groups
-
8556b6e7...d801f952 - 86 commits from branch
mentioned in commit edc5c39d
Please register or sign in to reply