ungleich-user/dal/tests
Sajeyks ab45535f38 Replace django-auth-ldap and python-ldap with an ldap3 backend
python-ldap is a C extension that needs the OpenLDAP headers to build
(and needed a workaround in the Dockerfile). ldap3, which the app
already used for all writes, is pure Python.

dal.backends.LdapBackend keeps the django-auth-ldap behaviour: search
the uid in every LDAPSEARCH base as the admin DN, require exactly one
match, log in with the user's DN, and mirror givenName, sn and mail into
the local Django user. Empty passwords are rejected (LDAP treats them
as anonymous logins, which succeed).

LDAP_USE_TLS now applies StartTLS to every connection, including the
admin connection used for writes, not just logins.
2026-11-06 15:15:03 +03:00
..
__init__.py Add end-to-end tests and pin production baseline dependencies 2026-11-06 14:46:24 +03:00
base.py Compute the next uidNumber from LDAP instead of a local file 2026-11-06 15:03:57 +03:00
test_flows.py Replace django-auth-ldap and python-ldap with an ldap3 backend 2026-11-06 15:15:03 +03:00