silverstrike icon indicating copy to clipboard operation
silverstrike copied to clipboard

LDAP Account support - Push allowed/wanted?

Open Alsterdetektive1 opened this issue 2 years ago • 2 comments

Hey, I searched a bit for a good finance Software with ldap Support. So at the end i came to this software which is made by django. LDAP Support Implementation shall be very easy, so i want to ask if it is desired, that i implement it and make a push request to the git.

Alsterdetektive1 avatar Mar 29 '22 14:03 Alsterdetektive1

sorry I didn't get back to this. I guess this can be handled using an extra dependency and modifying the authentication config?

If something needs to be changed in the code, I'm happy to merge it

simhnna avatar May 30 '22 21:05 simhnna

Hey, yeah just need to Import django_auth_ldap as authentication backends:

AUTHENTICATION_BACKENDS = [ 'django_auth_ldap.backend.LDAPBackend', 'django.contrib.auth.backends.ModelBackend', ]

Then there is a need to Set ldap settings in settings.py (e.g. with .env file or within docker-compose) and it is working (https://pypi.org/project/django-auth-ldap/)

Alsterdetektive1 avatar May 30 '22 21:05 Alsterdetektive1