Closed stevenhair closed 2 years ago
Thank you very much @stevenhair to take the time to develop this feature. I also would like to thank you for your very detailed comment about it! Thanks!
I have one or two suggestions before merging your pull request and deploy a new version of the project.
This implements LDAP filter queries and allows them to be dynamic. The filter no longer needs to be defined in the configuration.
And (
&
), or (|
), not (!
), and wildcard (*
) queries are all supported. Note that the behavior for complex queries may be slightly different than an actual Active Directory instance - the implementation presented in this PR may actually be more robust and support some things (like wildcards in negated queries).For example, given the following user database:
Here are some examples of valid queries (with their responses):
Closes #20 Closes #9