Support LDAP authentication with unauthorized reads#740
Support LDAP authentication with unauthorized reads#740JonasScharpf wants to merge 6 commits intobuchgr:masterfrom
Conversation
faecd41 to
2452267
Compare
mostynb
left a comment
There was a problem hiding this comment.
Not bad, for first-time go code :) I will look some more tomorrow.
I wonder if there's a small ldap server we could spin up during an end-to-end test? https://github.com/bradleypeabody/godap might work.
* use LDAP fake server package * expose config from YAML function * update go repository and deps list
4ef6685 to
e2a1d74
Compare
JonasScharpf
left a comment
There was a problem hiding this comment.
so I've fixed your remarks and added a end-to-end fake LDAP server test. But the remaining golangci linter errors are beyond my knowledge to fix them by myself.
I have to admit that I simply copied the httpServer thing from an example ...
Sorry it took me longer than expected to get back to this. I should have some time to read through this while I'm travelling later this week. |
|
Hey @mostynb how are you doing? Might it be possible to find some time for this PR during your next trip? 😉 |
|
@mostynb I'm sorry to ask again for your time + help with this PR, it's been now in review since almost 2 months |
|
Sorry this took me so long. I landed a modified version of this in #768. Could you please try it out? Some of the bigger changes:
|
This PR is based on #101 and resolves #100
It provides unauthorized reads when using LDAP, config via command line args and minimal config file testing for the new LDAP section
This is my first GO thing ever, so it might not be perfect