I am trying to set up mediawiki for a team and would like to LDAP authenticate only a set of users. I am aware I could come up with a group LDAP authentication.
But is there a shortcut to filter only a set of uids to authenticate.
The LDAP search filter you could use is:
(|(uid=a)(uid=b)(uid=c)(uid=...))
But as noted in the comments, a group is much easier and more maintainable.
However if you cannot use a group, consider using an attribute of the users, like description, resulting in this filter:
(description=mediawiki)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With