Skip to content

Commit

Permalink
fix: Set required ldap attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tlater-famedly committed Jul 22, 2024
1 parent e835120 commit 36bffc3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,13 @@ impl From<LdapConfig> for ldap_poller::Config {
attributes: AttributeConfig {
pid: attributes.user_id,
updated: attributes.last_modified,
// TODO: add all
additional: vec![attributes.first_name, attributes.last_name],
additional: vec![
attributes.first_name,
attributes.last_name,
attributes.preferred_username,
attributes.email,
attributes.phone,
],
attrs_to_track: vec![attributes.status],
},
cache_method: CacheMethod::ModificationTime,
Expand Down

0 comments on commit 36bffc3

Please sign in to comment.