]> 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>
Fri, 17 Jan 2025 08:39:58 +0000 (10:39 +0200)
commit5971004f796d8ba96c959161ea85237c2d631654
tree60fb6a9c838ef0e28e0b3f251632c2eb430fbd7e
parentde0501b5a409bf826d0ab6c112295e1fc5f2c870
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