Skip to content

Commit

Permalink
Fix misleading LDAP filiter in default config
Browse files Browse the repository at this point in the history
The default filter provided in config files is invalid. This may mislead people. Confirm to issue thelounge#4620.
  • Loading branch information
goodspeed34 authored Jan 27, 2023
1 parent bde5c3d commit f785acb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions defaults/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,9 @@ module.exports = {
// - `rootPassword`: Password of The Lounge LDAP system user.
rootPassword: "1234",

// - `filter`: it is set to `"(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)"`
// - `filter`: it is set to `"(&(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com))"`
// by default.
filter: "(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)",
filter: "(&(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com))",

// - `base`: LDAP search base (search only within this node). It is set
// to `"dc=example,dc=com"` by default.
Expand Down

0 comments on commit f785acb

Please sign in to comment.