Open joachimtingvold opened 6 years ago
Hi
Thanks for your interest in contributing! Some answers to your questions:
I'd be really interested in this enhancement as well! :-)
Maybe this is a bit further for the work needed, but turning to PAM instead of LDAP all together could be a good improvement as well. PAM is already used by nginx to authenticate so shouldn't be that much different.
Hi,
I'm guessing "patches welcome" is the general idea, but thought it would be good to discuss it first, before I start coding.
We're looking to start using this frontend, but we already "protect" some of our services with a dummy (i.e. static/simple) BasicAuth "wall" (to avoid being scraped/tested for vulnerabilities/brute-force/similar).
(yes, I know it's somewhat "security by obscurity", but that's just one of the layers, and mitigates the majority of attempts to find flaws).
However, this solution does not combine well with this project that relies on the web server doing the LDAP part (via BasicAuth).
I'm therefore looking to implement the LDAP-authentication/authorization as part of the front-end (web form, bla bla). Shouldn't be that much work, and the rest of the logic would remain more or less the same.
Some questions;
1) Any particular reason why it was done this way in the first place? Simplicity? (i.e. keep the LDAP-logic outside the project?). 2) I guess we want it to be configurable what to use? (i.e. a switch where you can select which method to use). 3) Anything else that should be thought of? I'm already having #29 in mind when doing this, so that it should be easier to expand the code to handle that as well.