add missing LDAP conf iterate_filter to exclude disabled accounts in users list
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2697|5|2692|4|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/463//ansiblelint">Evolix » ansible-roles » unstable #463</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
William Hirigoyen 2024-01-29 12:04:38 +01:00
parent e14408cb05
commit 393c1f4ff1
2 changed files with 2 additions and 0 deletions

View file

@ -92,6 +92,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* webapps/nextcloud: fix misplaced gid attribute
* webapps/nextcloud: fix missing gid
* minifirewall: ports 25, 53, 443, 993, 995 not opened publicly by default anymore, ports 20, 21, 110, 143 not opened semi-publicly by default anymore.
* dovecot: add missing LDAP conf iterate_filter to exclude disabled accounts in users list (caused « User no longer exists » errors in commands listing users like « doveadm user -u '*' » or « doveadm expunge -u "*" mailbox INBOX savedbefore 7d »).
### Removed

View file

@ -37,6 +37,7 @@
- { key: 'user_attrs', value: 'homeDirectory=home' }
- { key: 'user_filter', value: '(&(isActive=TRUE)(uid=%u))' }
- { key: 'pass_attrs', value: 'uid=user,userPassword=password' }
- { key: 'iterate_filter', value: '(&(isActive=TRUE))' }
when: ldap_suffix is defined
notify: reload dovecot
tags: