Skip to content

Commit

Permalink
Merge pull request #4334 from rhafer/issue4282
Browse files Browse the repository at this point in the history
Switch default for user and group substring search
  • Loading branch information
wkloucek authored Aug 5, 2022
2 parents 3c2e179 + 03a8db4 commit d290687
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -1808,8 +1808,6 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
environment = {
"OCIS_URL": OCIS_URL,
"OCIS_CONFIG_DIR": "/root/.ocis/config",
"LDAP_GROUP_SUBSTRING_FILTER_TYPE": "any",
"LDAP_USER_SUBSTRING_FILTER_TYPE": "any",
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142", # cs3api-validator needs the cs3api gatway exposed
"STORAGE_USERS_DRIVER": "%s" % (storage),
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
Expand Down
2 changes: 1 addition & 1 deletion services/groups/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func DefaultConfig() *config.Config {
GroupBaseDN: "ou=groups,o=libregraph-idm",
UserScope: "sub",
GroupScope: "sub",
GroupSubstringFilterType: "initial",
GroupSubstringFilterType: "any",
UserFilter: "",
GroupFilter: "",
UserObjectClass: "inetOrgPerson",
Expand Down
2 changes: 1 addition & 1 deletion services/users/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func DefaultConfig() *config.Config {
GroupBaseDN: "ou=groups,o=libregraph-idm",
UserScope: "sub",
GroupScope: "sub",
UserSubstringFilterType: "initial",
UserSubstringFilterType: "any",
UserFilter: "",
GroupFilter: "",
UserObjectClass: "inetOrgPerson",
Expand Down

0 comments on commit d290687

Please sign in to comment.