retrieve missing attributes ldap
This commit is contained in:
parent
93c0aa4b3a
commit
1d6344363a
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ impl LdapLoginProvider {
|
||||||
let specific = match config.storage {
|
let specific = match config.storage {
|
||||||
LdapStorage::InMemory => StorageSpecific::InMemory,
|
LdapStorage::InMemory => StorageSpecific::InMemory,
|
||||||
LdapStorage::Garage(grgconf) => {
|
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 =
|
let bucket_source =
|
||||||
match (grgconf.default_bucket.clone(), grgconf.bucket_attr.clone()) {
|
match (grgconf.default_bucket.clone(), grgconf.bucket_attr.clone()) {
|
||||||
(Some(b), None) => BucketSource::Constant(b),
|
(Some(b), None) => BucketSource::Constant(b),
|
||||||
|
|
Loading…
Reference in a new issue