]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
auth: Change passdb_default_fields and passdb_override_fields to be strlist
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 11 Jan 2024 18:25:27 +0000 (13:25 -0500)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 17 Jan 2025 08:39:57 +0000 (10:39 +0200)
commit3e9fbb32d1709f63582d1068541e63c482156021
tree0b3b228874feda1707f24e6430debb2a69d1bce0
parent823dd859deabdf68e2a8c4dca426fe307748ae7e
auth: Change passdb_default_fields and passdb_override_fields to be strlist

Now that the %variable expansion is done by settings lookups, they had to
be moved to their own settings structs that are looked up at appropriate
times. Especially the override_fields must be looked up only after the
passdb lookup has finished, since it can refer to extra fields returned by
it.
src/auth/auth-request.c
src/auth/auth-request.h
src/auth/auth-settings.c
src/auth/auth-settings.h
src/auth/auth.c
src/auth/auth.h
src/auth/test-mock.c