]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
auth: Add generic configuration for passdb/userdb fields
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Sat, 24 Feb 2024 11:30:21 +0000 (13:30 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 12 Feb 2025 10:34:12 +0000 (12:34 +0200)
commit50b20eb4e29ba837f088b3f48459382442c9c81c
treeb9a20cb94a569b7c6e4d0ec12e500aa89ac98df5
parent3036c1c8a92075f190e075d5bd4e9ffde3eda9ee
auth: Add generic configuration for passdb/userdb fields

The following commits will make these work like:

passdb foo {
  fields {
    key = %{passdb_driver:fieldname:default}
  }
}

And similarly for userdb. This will remove the need for default_fields and
override_fields settings. It's also possible to use
passdb/userdb_fields_import_all setting to import all fields, which is
going to be especially useful for passwd-file.
src/auth/auth-request.c
src/auth/auth-request.h
src/auth/auth-settings.c
src/auth/auth-settings.h
src/auth/passdb.h
src/auth/userdb.h