diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-30 15:45:48 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-30 15:45:48 +0100 |
commit | 1d6344363a19c1f9d543a87c9142b7a451f055a1 (patch) | |
tree | a4b88c68c234bb5bfc99366355767e5fe8b04007 /src/login/ldap_provider.rs | |
parent | 93c0aa4b3a89201530520c46986659731a43cad6 (diff) | |
download | aerogramme-1d6344363a19c1f9d543a87c9142b7a451f055a1.tar.gz aerogramme-1d6344363a19c1f9d543a87c9142b7a451f055a1.zip |
retrieve missing attributes ldap
Diffstat (limited to 'src/login/ldap_provider.rs')
-rw-r--r-- | src/login/ldap_provider.rs | 3 |
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), |