mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-09-08 13:04:26 +08:00
Request secret-changed attribute in LDAP queries (closes #1409)
This commit is contained in:
parent
d4ec6e32b3
commit
c5d4a65ce3
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue