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

Unclear usage of the :filter argument #84

Open
MarvinKlar opened this issue Aug 30, 2018 · 1 comment
Open

Unclear usage of the :filter argument #84

MarvinKlar opened this issue Aug 30, 2018 · 1 comment

Comments

@MarvinKlar
Copy link

Hello everyone,

I am using the discourse ldap plugin: https://github.com/jonmbake/discourse-ldap-auth
This plugins provides :filter argument in it's configuration. It says: LDAP filter (for group based authentication)
I assume that you can define the users with this filter, which should be able to login to discourse (the forum).

But your documentation says: :filter is the LDAP filter used to search the user entry. It can be used in place of :uid for more flexibility. %{username} will be replaced by the user name processed by :name_proc.
I don't really understand the essence of this description.

Could you please explain this to me?
I am asking, because we REALLY need a way to limit the users which should be allowed to login to our disocurse forum.

If I misunderstood the filter attribute please let me know so I have the possibility to look for an alternative!

Thanks for your help!

@MarvinKlar
Copy link
Author

Does anyone know how to use this filter?

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

No branches or pull requests

1 participant