Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds LDAP authentication #156

Merged
merged 4 commits into from
Sep 27, 2023
Merged

Conversation

multiflexi
Copy link
Contributor

Adds LDAP authentication. When bind is successful, user gets authenticated. Necessary settings is set in .env. I had to increase version of psycopg2-binary, otherwise the container would not launch, but I did not investigate it closely.

@multiflexi
Copy link
Contributor Author

I added simple documentation to setup LDAP(S) authentication. It is necessary just to set the authenticator, server URL and Base DN variables. The authentication works only with TLS and a certificate placed in the auth folder.
I also found deprecated has_key() used in Python 2 so I changed it to Python 3 syntax in.

Copy link
Collaborator

@milankowww milankowww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accepting untested, will do a round of testing after some more merges.

@milankowww milankowww merged commit 3e6880e into SK-CERT:main Sep 27, 2023
@multiflexi multiflexi deleted the ldap_authentication branch February 8, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants