silverstrike
silverstrike copied to clipboard
LDAP Account support - Push allowed/wanted?
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.
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
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/)