aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-30 15:45:48 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-30 15:45:48 +0100
commit1d6344363a19c1f9d543a87c9142b7a451f055a1 (patch)
treea4b88c68c234bb5bfc99366355767e5fe8b04007
parent93c0aa4b3a89201530520c46986659731a43cad6 (diff)
downloadaerogramme-1d6344363a19c1f9d543a87c9142b7a451f055a1.tar.gz
aerogramme-1d6344363a19c1f9d543a87c9142b7a451f055a1.zip
retrieve missing attributes ldap
-rw-r--r--src/login/ldap_provider.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/ldap_provider.rs b/src/login/ldap_provider.rs
index 81e5879..e73e1dc 100644
--- a/src/login/ldap_provider.rs
+++ b/src/login/ldap_provider.rs
@@ -60,6 +60,9 @@ impl LdapLoginProvider {
let specific = match config.storage {
LdapStorage::InMemory => StorageSpecific::InMemory,
LdapStorage::Garage(grgconf) => {
+ attrs_to_retrieve.push(grgconf.aws_access_key_id_attr.clone());
+ attrs_to_retrieve.push(grgconf.aws_secret_access_key_attr.clone());
+
let bucket_source =
match (grgconf.default_bucket.clone(), grgconf.bucket_attr.clone()) {
(Some(b), None) => BucketSource::Constant(b),