-
-
Notifications
You must be signed in to change notification settings - Fork 141
LDAP Auth #601
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
base: master
Are you sure you want to change the base?
LDAP Auth #601
Conversation
TODO: Make the styles match the rest of the page and move them out of inline.
|
Heya! Thanks a bunch for picking this up, I meant to fix that linting error but life got in the way. I've done a very informal glance over the code and everything looked pretty good, but I just had two questions/comments. The first is on: + //nolint:gochecknoglobals
var ldapStore = make(LDAPStore)This line is the reason that #346 wasn't getting merged, - if doesLDAPUserExist(username, config, l) && !isAdmin {
+ if !doesLDAPUserExist(username, config, l) {Does this work if someone wants to configure two different filters for admin and user accounts? I know it seems like an edge case, but given how different each LDAP server is configured it didn't seem like that bad of an idea when I was originally writing that code. Just out of curiosity, how has it been working for you over the past couple of weeks? |
7decea6 to
971d22d
Compare
I have come across PR #346 while looking for a way to have a music server that integrates with LDAP. I managed to get it working for me. I have