Merge pull request #4334 from rhafer/issue4282
Switch default for user and group substring search
This commit is contained in:
@@ -1808,8 +1808,6 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
|||||||
environment = {
|
environment = {
|
||||||
"OCIS_URL": OCIS_URL,
|
"OCIS_URL": OCIS_URL,
|
||||||
"OCIS_CONFIG_DIR": "/root/.ocis/config",
|
"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
|
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142", # cs3api-validator needs the cs3api gatway exposed
|
||||||
"STORAGE_USERS_DRIVER": "%s" % (storage),
|
"STORAGE_USERS_DRIVER": "%s" % (storage),
|
||||||
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
|
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ func DefaultConfig() *config.Config {
|
|||||||
GroupBaseDN: "ou=groups,o=libregraph-idm",
|
GroupBaseDN: "ou=groups,o=libregraph-idm",
|
||||||
UserScope: "sub",
|
UserScope: "sub",
|
||||||
GroupScope: "sub",
|
GroupScope: "sub",
|
||||||
GroupSubstringFilterType: "initial",
|
GroupSubstringFilterType: "any",
|
||||||
UserFilter: "",
|
UserFilter: "",
|
||||||
GroupFilter: "",
|
GroupFilter: "",
|
||||||
UserObjectClass: "inetOrgPerson",
|
UserObjectClass: "inetOrgPerson",
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ func DefaultConfig() *config.Config {
|
|||||||
GroupBaseDN: "ou=groups,o=libregraph-idm",
|
GroupBaseDN: "ou=groups,o=libregraph-idm",
|
||||||
UserScope: "sub",
|
UserScope: "sub",
|
||||||
GroupScope: "sub",
|
GroupScope: "sub",
|
||||||
UserSubstringFilterType: "initial",
|
UserSubstringFilterType: "any",
|
||||||
UserFilter: "",
|
UserFilter: "",
|
||||||
GroupFilter: "",
|
GroupFilter: "",
|
||||||
UserObjectClass: "inetOrgPerson",
|
UserObjectClass: "inetOrgPerson",
|
||||||
|
|||||||
Reference in New Issue
Block a user