Request secret-changed attribute in LDAP queries (closes #1409)
This commit is contained in:
@@ -98,12 +98,15 @@ impl LdapDirectory {
|
||||
&mappings.attr_type,
|
||||
&mappings.attr_description,
|
||||
&mappings.attr_secret,
|
||||
&mappings.attr_secret_changed,
|
||||
&mappings.attr_quota,
|
||||
&mappings.attr_groups,
|
||||
&mappings.attr_email_address,
|
||||
&mappings.attr_email_alias,
|
||||
] {
|
||||
mappings.attrs_principal.extend(attr.iter().cloned());
|
||||
mappings
|
||||
.attrs_principal
|
||||
.extend(attr.iter().filter(|a| !a.is_empty()).cloned());
|
||||
}
|
||||
|
||||
let auth_bind = match config
|
||||
|
||||
Reference in New Issue
Block a user