diff --git a/src/synapse/workload.py b/src/synapse/workload.py index 9aec24b9..5cd00cf7 100644 --- a/src/synapse/workload.py +++ b/src/synapse/workload.py @@ -206,7 +206,7 @@ def _create_pysaml2_config(charm_state: CharmState) -> typing.Dict: # dont send uid in SAMLResponse so this will map # fullname to uid if "ubuntu.com" in saml_config["metadata_url"]: - sp_config["attribute_map_dir"] = "/data/attributemaps" + sp_config["attribute_map_dir"] = "/usr/local/attributemaps" return sp_config diff --git a/tests/unit/test_synapse_workload.py b/tests/unit/test_synapse_workload.py index a788ebf8..3949d871 100644 --- a/tests/unit/test_synapse_workload.py +++ b/tests/unit/test_synapse_workload.py @@ -128,7 +128,7 @@ def test_enable_saml_success(): } }, "allow_unknown_attributes": True, - "attribute_map_dir": "/data/attributemaps", + "attribute_map_dir": "/usr/local/attributemaps", }, "user_mapping_provider": { "config": {