Merge pull request #4334 from rhafer/issue4282

Switch default for user and group substring search
This commit is contained in:
Willy Kloucek
2022-08-05 09:38:08 +02:00
committed by GitHub
3 changed files with 2 additions and 4 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",