From 1d6344363a19c1f9d543a87c9142b7a451f055a1 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 30 Jan 2024 15:45:48 +0100 Subject: retrieve missing attributes ldap --- src/login/ldap_provider.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/login') 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), -- cgit v1.2.3