benadida / helios-server

Helios server
http://heliosvoting.org
Apache License 2.0
721 stars 343 forks source link

Upstream ldap #374

Closed shirlei closed 1 year ago

shirlei commented 1 year ago

@benadida I think maybe with the latest updates we could try this again...

I did a test with docker using python:3.6.15-buster and the minimal extra packages that I had to install were these ones: python3-dev libldap2-dev libsasl2-dev, so I suppose you would have to install/have at least those in you installation too.

The new dependencies in requirements.txt (django_auth_ldap==4.0.0 and python-ldap==3.4.3) were tested against that python:3.6.15-buster docker image (after installing the extra packages) as well.

There are also some running tests on helios_auth/tests.py relying on https://www.forumsys.com/2022/05/10/online-ldap-test-server/

Some history about previous tentative rolled back because of the extra OS packages here:

https://github.com/benadida/helios-server/commit/ae49f9dd33852d3ae7d7a8d5c152ae9132a90533#commitcomment-22365824