On 27. Jan 2025, at 14.34, Armin Tüting via dovecot <dovecot@dovecot.org> wrote:
On Fri, 2025-01-24 at 12:42 +0200, Aki Tuomi via dovecot wrote:
Hi all,
Hello,
I've been upgrading to 2.4.0; one thing is anoying me. Using "doveadm -A xxxx" on LDAP doen't work - the parser (doveconf) throws an error 'Unknown section name: iterate_fields'. userdb ldap { iterate_filter = (objectClass=posixAccount) iterate_fields { user = %{ldap:uid} } }
This is a bit unfortunate behavior, which we didn't catch in our tests. I'll see if I can fix it.
For now you can use the longer version ldap_iterate_fields or userdb_ldap_iterate_fields instead. It shows up in a bit weird way in the doveconf output, which I'll also try to figure out how to fix:
userdb ldap { userdb_ldap { iterate_fields { user = %{ldap:uid} } } }