]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
8 months agolib-program-client, global: Remove program_client_parameters.debug
Timo Sirainen [Mon, 12 Aug 2024 08:56:10 +0000 (11:56 +0300)] 
lib-program-client, global: Remove program_client_parameters.debug

Just inherit it from the parent event.

8 months agolib-program-client, global: Rename struct program_client_settings to program_client_p...
Timo Sirainen [Mon, 12 Aug 2024 08:47:49 +0000 (11:47 +0300)] 
lib-program-client, global: Rename struct program_client_settings to program_client_parameters

Also rename the parameter/variable names.

8 months agoglobal: Use settings_defaults_dup() where possible
Timo Sirainen [Tue, 10 Sep 2024 14:27:59 +0000 (17:27 +0300)] 
global: Use settings_defaults_dup() where possible

8 months agolib-settings: Add settings_defaults_dup()
Timo Sirainen [Tue, 10 Sep 2024 14:23:37 +0000 (17:23 +0300)] 
lib-settings: Add settings_defaults_dup()

8 months agostats: Expand metric_group_by setting to a hierarchy of settings
Timo Sirainen [Mon, 2 Sep 2024 10:18:37 +0000 (13:18 +0300)] 
stats: Expand metric_group_by setting to a hierarchy of settings

doveadm stats add --group-by preserves the old syntax for now.

8 months agostats: Move metrics_group_by_exponential/linear_init()
Timo Sirainen [Mon, 2 Sep 2024 10:28:10 +0000 (13:28 +0300)] 
stats: Move metrics_group_by_exponential/linear_init()

Simplifies the following commits.

8 months agostats: Split off metrics_group_by_exponential/linear_init()
Timo Sirainen [Mon, 2 Sep 2024 10:26:53 +0000 (13:26 +0300)] 
stats: Split off metrics_group_by_exponential/linear_init()

Simplifies the following commits.

8 months agolib-settings: Add uintmax setting type
Timo Sirainen [Sat, 31 Aug 2024 06:23:01 +0000 (09:23 +0300)] 
lib-settings: Add uintmax setting type

8 months agostats: Rename event_exporter_format_args setting to event_exporter_time_format
Timo Sirainen [Thu, 29 Aug 2024 11:09:42 +0000 (14:09 +0300)] 
stats: Rename event_exporter_format_args setting to event_exporter_time_format

The time format was the only used args.

8 months agostats: Remove event_exporter_transport_args and _transport_timeout settings
Timo Sirainen [Thu, 29 Aug 2024 11:04:45 +0000 (14:04 +0300)] 
stats: Remove event_exporter_transport_args and _transport_timeout settings

These are handled by transport-specific settings now.

8 months agostats: Change metrics_driver setting to be enum
Timo Sirainen [Sat, 31 Aug 2024 06:11:58 +0000 (09:11 +0300)] 
stats: Change metrics_driver setting to be enum

8 months agostats: http post event exporter - Convert to using global settings
Timo Sirainen [Thu, 29 Aug 2024 11:02:14 +0000 (14:02 +0300)] 
stats: http post event exporter - Convert to using global settings

8 months agostats: file event exporter - Convert to using global settings
Timo Sirainen [Thu, 29 Aug 2024 10:55:44 +0000 (13:55 +0300)] 
stats: file event exporter - Convert to using global settings

8 months agostats: Change event exporters to be proper objects of type event_exporter_transport
Timo Sirainen [Thu, 29 Aug 2024 09:59:00 +0000 (12:59 +0300)] 
stats: Change event exporters to be proper objects of type event_exporter_transport

8 months agostats: Rename struct exporter_file to file_event_exporter
Timo Sirainen [Thu, 29 Aug 2024 10:19:57 +0000 (13:19 +0300)] 
stats: Rename struct exporter_file to file_event_exporter

8 months agostats: Rename struct exporter to event_exporter
Timo Sirainen [Thu, 29 Aug 2024 10:10:43 +0000 (13:10 +0300)] 
stats: Rename struct exporter to event_exporter

8 months agostats: Change event exporter transports to be extensible
Timo Sirainen [Thu, 29 Aug 2024 09:49:36 +0000 (12:49 +0300)] 
stats: Change event exporter transports to be extensible

8 months agostats: Rename event_exporter_transport to _driver and make it default to _name
Timo Sirainen [Thu, 29 Aug 2024 09:27:51 +0000 (12:27 +0300)] 
stats: Rename event_exporter_transport to _driver and make it default to _name

8 months agostats: Change metric_exporter_include setting to boollist
sergey.kitov [Thu, 29 Aug 2024 08:48:58 +0000 (11:48 +0300)] 
stats: Change metric_exporter_include setting to boollist

8 months agostats: Change metric_fields setting to boollist
sergey.kitov [Thu, 29 Aug 2024 08:46:38 +0000 (11:46 +0300)] 
stats: Change metric_fields setting to boollist

8 months agostats: Immediately allocate dynamic metric settings from persistent pool
Timo Sirainen [Mon, 2 Sep 2024 07:56:11 +0000 (10:56 +0300)] 
stats: Immediately allocate dynamic metric settings from persistent pool

This avoids having to duplicate the memory later on, which gets more
difficult in the following changes.

8 months agostats: Fix settings memory leak on invalid metric settings
Timo Sirainen [Mon, 2 Sep 2024 07:53:22 +0000 (10:53 +0300)] 
stats: Fix settings memory leak on invalid metric settings

8 months agolib: Add array_lsearch_ptr[_modifiable]() and array_lsearch_ptr_idx()
Timo Sirainen [Tue, 20 Aug 2024 07:35:54 +0000 (10:35 +0300)] 
lib: Add array_lsearch_ptr[_modifiable]() and array_lsearch_ptr_idx()

8 months agolib-settings: Rename boollist_null_terminate() to public settings_boollist_finish()
Timo Sirainen [Thu, 29 Aug 2024 08:40:05 +0000 (11:40 +0300)] 
lib-settings: Rename boollist_null_terminate() to public settings_boollist_finish()

8 months agoauth: ldap - Change string auth_sasl_mechanism into bool list auth_sasl_mechanisms
Marco Bettini [Fri, 6 Sep 2024 15:04:16 +0000 (15:04 +0000)] 
auth: ldap - Change string auth_sasl_mechanism into bool list auth_sasl_mechanisms

8 months agoauth: ldap - Change ldap_deref & ldap_scope into enums
Marco Bettini [Fri, 6 Sep 2024 13:59:16 +0000 (13:59 +0000)] 
auth: ldap - Change ldap_deref & ldap_scope into enums

8 months agoauth: Rename :protected suffix to :default
Timo Sirainen [Thu, 29 Aug 2024 08:23:51 +0000 (11:23 +0300)] 
auth: Rename :protected suffix to :default

This is more understandable.

8 months agoauth: Remove empty password check for nopassword
Timo Sirainen [Thu, 29 Aug 2024 06:33:47 +0000 (09:33 +0300)] 
auth: Remove empty password check for nopassword

The new fields { .. } way makes this a bit more difficult. Previously
it was ok to put nopassword to default_fields or override_fields even
if the passdb itself returned a password - this empty password check
was done only if the passdb internally returned both password and
nopassword. However, now it's all in the same fields { .. } where it's
not always easy to prevent adding the password.

8 months agoauth: Remove passdb/userdb fields_supported flag
Timo Sirainen [Fri, 9 Aug 2024 20:20:05 +0000 (23:20 +0300)] 
auth: Remove passdb/userdb fields_supported flag

All passdbs and userdbs now support it.

8 months agoauth: Remove passdb/userdb_default/override_fields
Timo Sirainen [Fri, 9 Aug 2024 20:18:50 +0000 (23:18 +0300)] 
auth: Remove passdb/userdb_default/override_fields

All passdbs and userdbs now support the passdb/userdb_fields, which
replaces these.

8 months agolib-dict: drop dict prefix from redis settings
alexandre.roux [Mon, 26 Aug 2024 11:30:10 +0000 (13:30 +0200)] 
lib-dict: drop dict prefix from redis settings

8 months agolib-storage: Fix IMAP SPECIAL-USE capability when using global mailbox settings
Timo Sirainen [Thu, 15 Aug 2024 07:59:57 +0000 (10:59 +0300)] 
lib-storage: Fix IMAP SPECIAL-USE capability when using global mailbox settings

8 months agolib-storage: Rename mail_user_check_namespace_settings() to mail_user_settings_update...
Timo Sirainen [Thu, 15 Aug 2024 07:54:45 +0000 (10:54 +0300)] 
lib-storage: Rename mail_user_check_namespace_settings() to mail_user_settings_update_special_use()

Also add a comment to clarify why this is done here.

8 months agolib-storage: mail_user_check_namespace_settings() - Remove alias_for checks
Timo Sirainen [Thu, 15 Aug 2024 07:49:49 +0000 (10:49 +0300)] 
lib-storage: mail_user_check_namespace_settings() - Remove alias_for checks

They don't need to be here. The full alias_for checks are done later.

8 months agolib-storage: Fix final namespace alias_for chaining check
Timo Sirainen [Thu, 15 Aug 2024 08:17:06 +0000 (11:17 +0300)] 
lib-storage: Fix final namespace alias_for chaining check

8 months agolib-storage: Fix using global mailbox settings
Timo Sirainen [Wed, 14 Aug 2024 20:15:13 +0000 (23:15 +0300)] 
lib-storage: Fix using global mailbox settings

Previously mailbox settings had to be inside namespace for the settings to
work.

8 months agolib-settings: Add comments about how settings overrides are parsed
Timo Sirainen [Wed, 14 Aug 2024 20:05:46 +0000 (23:05 +0300)] 
lib-settings: Add comments about how settings overrides are parsed

8 months agoconfig: Define PLUGIN_BUILD so auth plugins' settings are included
Timo Sirainen [Sun, 11 Aug 2024 06:28:53 +0000 (09:28 +0300)] 
config: Define PLUGIN_BUILD so auth plugins' settings are included

8 months agoauth: Fix linking problems when using lua as plugin
Timo Sirainen [Fri, 9 Aug 2024 19:04:22 +0000 (22:04 +0300)] 
auth: Fix linking problems when using lua as plugin

After recent changes passdb-template was used only by the Lua code.
If it was built as plugin, there was nothing in auth binary that used it,
so linker dropped it entirely. This drop happens only for symbols within
.a libraries. Fixed by not building libauth.a at all.

8 months agoauth: ldap - Use container_of()
Marco Bettini [Mon, 22 Jul 2024 08:29:59 +0000 (08:29 +0000)] 
auth: ldap - Use container_of()

8 months agoauth: db-ldap - Prefix events with currently connected host
Marco Bettini [Wed, 24 Jul 2024 15:33:57 +0000 (15:33 +0000)] 
auth: db-ldap - Prefix events with currently connected host

8 months agoauth: db-ldap - Restore prefixes to messages
Marco Bettini [Wed, 17 Jul 2024 14:39:01 +0000 (14:39 +0000)] 
auth: db-ldap - Restore prefixes to messages

(replaces previously removed conn->config_path)

8 months agom4: want_ldap - Drop LDAP_DEPRECATED
Marco Bettini [Wed, 17 Jul 2024 13:30:30 +0000 (13:30 +0000)] 
m4: want_ldap - Drop LDAP_DEPRECATED

8 months agoauth: ldap - Drop deprecated ldap_init() and ldap_host settings
Marco Bettini [Mon, 15 Jul 2024 14:59:24 +0000 (14:59 +0000)] 
auth: ldap - Drop deprecated ldap_init() and ldap_host settings

8 months agoauth: ldap - Replace deprecated ldap_bind() with ldap_sasl_bind()
Marco Bettini [Wed, 17 Jul 2024 09:28:13 +0000 (09:28 +0000)] 
auth: ldap - Replace deprecated ldap_bind() with ldap_sasl_bind()

8 months agoauth: ldap - Replace deprecated ldap_get_values() with ldap_get_values_len()
Marco Bettini [Mon, 15 Jul 2024 14:38:06 +0000 (14:38 +0000)] 
auth: ldap - Replace deprecated ldap_get_values() with ldap_get_values_len()

8 months agoauth: ldap - Replace deprecated ldap_unbind() with ldap_unbind_ext()
Marco Bettini [Mon, 15 Jul 2024 14:28:01 +0000 (14:28 +0000)] 
auth: ldap - Replace deprecated ldap_unbind() with ldap_unbind_ext()

8 months agoauth: ldap - Replace deprecated ldap_result2error() with ldap_parse_result()
Marco Bettini [Wed, 17 Jul 2024 12:25:22 +0000 (12:25 +0000)] 
auth: ldap - Replace deprecated ldap_result2error() with ldap_parse_result()

8 months agoauth: ldap - Add ldap_connection_group
Marco Bettini [Fri, 12 Jul 2024 09:45:40 +0000 (09:45 +0000)] 
auth: ldap - Add ldap_connection_group

8 months agoauth: ldap - Restore db_ldap_field_hide_password() functionality
Marco Bettini [Wed, 10 Jul 2024 14:47:09 +0000 (14:47 +0000)] 
auth: ldap - Restore db_ldap_field_hide_password() functionality

8 months agolib: strfuncs - Add str_ends_with() & str_ends_icase_with()
Marco Bettini [Thu, 1 Aug 2024 12:33:02 +0000 (12:33 +0000)] 
lib: strfuncs - Add str_ends_with() & str_ends_icase_with()

8 months agoauth: ldap - Move *attrs_names away from struct ldap connection
Marco Bettini [Wed, 10 Jul 2024 08:36:14 +0000 (08:36 +0000)] 
auth: ldap - Move *attrs_names away from struct ldap connection

Multiple db instances sharing the same ldap connection were
overwriting each other attribute's fields in preinit as all
preinits are done before using the connections.

8 months agoauth: ldap - Make struct ldap_request_search::attributes const
Marco Bettini [Wed, 10 Jul 2024 08:22:09 +0000 (08:22 +0000)] 
auth: ldap - Make struct ldap_request_search::attributes const

8 months agoauth: ldap_set_attrs() - pass directly pool_t rather than ldap_connection
Marco Bettini [Wed, 10 Jul 2024 08:11:42 +0000 (08:11 +0000)] 
auth: ldap_set_attrs() - pass directly pool_t rather than ldap_connection

8 months agoauth: ldap - Split pre/post settings and finish the conversion
Marco Bettini [Mon, 8 Jul 2024 14:40:35 +0000 (14:40 +0000)] 
auth: ldap - Split pre/post settings and finish the conversion

8 months agoauth: ldap_field_hide_password() - Disable temporarily
Marco Bettini [Thu, 11 Jul 2024 08:04:41 +0000 (08:04 +0000)] 
auth: ldap_field_hide_password() - Disable temporarily

8 months agoauth: ldap - Collapse ldap_pass_filter and ldap_user_filter into ldap_filter
Marco Bettini [Wed, 27 Mar 2024 10:24:18 +0000 (10:24 +0000)] 
auth: ldap - Collapse ldap_pass_filter and ldap_user_filter into ldap_filter

8 months agoauth: ldap - Add support for fields { .. }
Marco Bettini [Mon, 25 Mar 2024 14:23:51 +0000 (14:23 +0000)] 
auth: ldap - Add support for fields { .. }

8 months agoauth: db-ldap - Drop auth_sasl_bind
Marco Bettini [Tue, 14 May 2024 14:15:58 +0000 (14:15 +0000)] 
auth: db-ldap - Drop auth_sasl_bind

Now inferred by non-empty ldap_auth_sasl_mechanism.

8 months agoauth: ldap - Rename ldap_bind* into passdb_ldap_bind*
Marco Bettini [Wed, 17 Jul 2024 08:14:05 +0000 (08:14 +0000)] 
auth: ldap - Rename ldap_bind* into passdb_ldap_bind*

8 months agoauth: struct ldap_settings - Add auth_ prefixes
Marco Bettini [Fri, 5 Jul 2024 14:21:49 +0000 (14:21 +0000)] 
auth: struct ldap_settings - Add auth_ prefixes

8 months agoauth: db-ldap-settings - Defer some checks to runtime
Marco Bettini [Wed, 20 Mar 2024 16:25:00 +0000 (16:25 +0000)] 
auth: db-ldap-settings - Defer some checks to runtime

8 months agoauth: ldap - Use global passdb_use_worker from auth_passdb
Marco Bettini [Wed, 20 Mar 2024 11:49:33 +0000 (11:49 +0000)] 
auth: ldap - Use global passdb_use_worker from auth_passdb

8 months agoauth: ldap - Use passdb_default_pass_scheme from auth_passdb
Marco Bettini [Wed, 20 Mar 2024 11:42:33 +0000 (11:42 +0000)] 
auth: ldap - Use passdb_default_pass_scheme from auth_passdb

8 months agoauth: db-ldap - Use also ssl_settings
Marco Bettini [Tue, 19 Mar 2024 15:08:26 +0000 (15:08 +0000)] 
auth: db-ldap - Use also ssl_settings

ldap_tls_require_cert=demand/allow has replaced by ssl_client_require_valid_cert=yes/no.
The other values of the original setting are no longer supported.

8 months agoauth: db-ldap - Move validation to settings
Marco Bettini [Tue, 19 Mar 2024 13:50:45 +0000 (13:50 +0000)] 
auth: db-ldap - Move validation to settings

8 months agoauth: struct ldap_settings - Rename parsed fields into parsed_xxx
Marco Bettini [Thu, 21 Mar 2024 10:26:19 +0000 (10:26 +0000)] 
auth: struct ldap_settings - Rename parsed fields into parsed_xxx

8 months agoauth: struct ldap_settings - Rename tls into starttls
Marco Bettini [Tue, 19 Mar 2024 14:55:26 +0000 (14:55 +0000)] 
auth: struct ldap_settings - Rename tls into starttls

8 months agoauth: db_ldap_set_options() - Fix protocol_version to reflect actual setting name
Marco Bettini [Thu, 1 Aug 2024 08:36:37 +0000 (08:36 +0000)] 
auth: db_ldap_set_options() - Fix protocol_version to reflect actual setting name

8 months agoauth: struct ldap_settings - Fix ldap_ldap_version -> ldap_version
Marco Bettini [Wed, 20 Mar 2024 16:13:16 +0000 (16:13 +0000)] 
auth: struct ldap_settings - Fix ldap_ldap_version -> ldap_version

8 months agoauth: struct ldap-settings - Drop ldaprc_path
Marco Bettini [Fri, 15 Mar 2024 10:17:54 +0000 (10:17 +0000)] 
auth: struct ldap-settings - Drop ldaprc_path

8 months agoauth: ldap - Read settings from main config
Marco Bettini [Fri, 15 Mar 2024 09:31:44 +0000 (09:31 +0000)] 
auth: ldap - Read settings from main config

8 months agoauth: struct ldap_settings - Reorder fields by type [BUILD-BROKEN]
Marco Bettini [Fri, 15 Mar 2024 10:05:40 +0000 (10:05 +0000)] 
auth: struct ldap_settings - Reorder fields by type [BUILD-BROKEN]

(build broken until next commits)

8 months agoauth: struct ldap_settings - Move to db-ldap-settings.[ch] [BUILD-BROKEN]
Marco Bettini [Tue, 12 Mar 2024 14:13:37 +0000 (14:13 +0000)] 
auth: struct ldap_settings - Move to db-ldap-settings.[ch] [BUILD-BROKEN]

(build broken until next commits)

8 months agoauth: struct ldap_connection - Change set into a pointer
Marco Bettini [Thu, 1 Aug 2024 09:35:17 +0000 (09:35 +0000)] 
auth: struct ldap_connection - Change set into a pointer

8 months agoauth: db_ldap_set_options() - Move variables local to their usage
Marco Bettini [Wed, 24 Jul 2024 15:50:47 +0000 (15:50 +0000)] 
auth: db_ldap_set_options() - Move variables local to their usage

Specifically, int value could cause an unused warning/error
if LDAP_OPT_DEBUG_LEVEL is not defined

8 months agoauth: db-ldap - Remove conn->config_path from messages
Marco Bettini [Tue, 19 Mar 2024 14:11:08 +0000 (14:11 +0000)] 
auth: db-ldap - Remove conn->config_path from messages

8 months agoauth: db-ldap - Drop subqueries
Marco Bettini [Mon, 20 May 2024 09:17:31 +0000 (09:17 +0000)] 
auth: db-ldap - Drop subqueries

Subqueries are replaced by multiple passdb/userdb stanzas,
where the successive one sets ldap_base to the dn fetched/composed
using the fields of the previous one.

8 months agoauth: auth-request - Add auth_request_set_(pass|user)db_fields_ex()
Marco Bettini [Fri, 14 Jun 2024 15:14:49 +0000 (15:14 +0000)] 
auth: auth-request - Add auth_request_set_(pass|user)db_fields_ex()

8 months agolib-settings: Support overriding include groups via cli/userdb
Timo Sirainen [Tue, 27 Feb 2024 20:52:32 +0000 (22:52 +0200)] 
lib-settings: Support overriding include groups via cli/userdb

For example namespace/inbox/@mailboxes=foo is equivalent to:

namespace inbox {
  @mailboxes = foo
}

8 months agolib-settings, config: Add support for including groups
Timo Sirainen [Tue, 27 Feb 2024 20:47:54 +0000 (22:47 +0200)] 
lib-settings, config: Add support for including groups

It works like:

group @label name {
  ..any settings here..
}

any filter {
  @label = name
}

For example:

group @mailboxes defaults {
  mailbox Sent {
    special_use = \Sent
    auto = subscribe
  }
}
namespace inbox {
  @mailboxes = defaults
}

8 months agolib-settings: Move seen_filter to struct settings_apply_ctx
Timo Sirainen [Tue, 22 Oct 2024 12:32:35 +0000 (15:32 +0300)] 
lib-settings: Move seen_filter to struct settings_apply_ctx

Simplifies the following changes.

8 months agoconfig: Split off config_dump_full_write_filter()
Timo Sirainen [Mon, 3 Jun 2024 16:47:05 +0000 (19:47 +0300)] 
config: Split off config_dump_full_write_filter()

8 months agoconfig: Split off config_dump_full_stdout_write_filter()
Timo Sirainen [Mon, 3 Jun 2024 16:46:04 +0000 (19:46 +0300)] 
config: Split off config_dump_full_stdout_write_filter()

8 months agoconfig: Add some comments to config dumping code
Timo Sirainen [Tue, 27 Feb 2024 20:43:35 +0000 (22:43 +0200)] 
config: Add some comments to config dumping code

8 months agoplugins: acl_backend_user_is_in_group() - Retrofit array_bsearch() in place of array_...
Marco Bettini [Fri, 26 Jul 2024 07:43:39 +0000 (07:43 +0000)] 
plugins: acl_backend_user_is_in_group() - Retrofit array_bsearch() in place of array_get() + i_bsearch()

8 months agolib: Add event_filter_has_field_prefix()
Timo Sirainen [Tue, 22 Oct 2024 12:37:30 +0000 (15:37 +0300)] 
lib: Add event_filter_has_field_prefix()

8 months agolib: array - Make array_bsearch() const
Marco Bettini [Thu, 25 Jul 2024 15:40:41 +0000 (15:40 +0000)] 
lib: array - Make array_bsearch() const

8 months agolib: array - Add array_bsearch_modifiable()
Marco Bettini [Fri, 26 Jul 2024 09:04:05 +0000 (09:04 +0000)] 
lib: array - Add array_bsearch_modifiable()

8 months agolib: array - Generalize ARRAY_LSEARCH_CALL() into ARRAY_SEARCH_CALL()
Marco Bettini [Fri, 26 Jul 2024 08:56:54 +0000 (08:56 +0000)] 
lib: array - Generalize ARRAY_LSEARCH_CALL() into ARRAY_SEARCH_CALL()

8 months agolib: sort - Rename bsearch_(case)strcmp() into search_(case)strcmp()
Marco Bettini [Fri, 26 Jul 2024 07:49:17 +0000 (07:49 +0000)] 
lib: sort - Rename bsearch_(case)strcmp() into search_(case)strcmp()

8 months agodict: Add dict_name to command event
Aki Tuomi [Fri, 26 Jul 2024 10:54:37 +0000 (13:54 +0300)] 
dict: Add dict_name to command event

8 months agolib-settings, config: Differentiate between doveconf and config binaries
Vincent Kenbeek [Wed, 10 Jul 2024 09:19:41 +0000 (11:19 +0200)] 
lib-settings, config: Differentiate between doveconf and config binaries

8 months agoauth: passdb-bsdauth - Move settings from "args" to individual settings
Karl Fleischmann [Wed, 10 Jul 2024 12:03:02 +0000 (14:03 +0200)] 
auth: passdb-bsdauth - Move settings from "args" to individual settings

This commit enables bsdauth lookups caching by default while previously
it was necessary to supply a specific argument.

8 months agoauth: passdb-bsdauth - Add support for passdb_fields
Karl Fleischmann [Tue, 9 Jul 2024 12:27:38 +0000 (14:27 +0200)] 
auth: passdb-bsdauth - Add support for passdb_fields

8 months agodict: Support accessing non-legacy dicts
Timo Sirainen [Thu, 21 Mar 2024 22:25:36 +0000 (00:25 +0200)] 
dict: Support accessing non-legacy dicts

The dicts can be configured inside dict_server { .. } filter, e.g.:

dict_server {
  dict cassandra {
    ..
  }
  dict cassandra2 {
    driver = cassandra
    ..
  }
}

8 months agolib-dict: Add dict_init_filter_auto()
Timo Sirainen [Thu, 21 Mar 2024 22:25:18 +0000 (00:25 +0200)] 
lib-dict: Add dict_init_filter_auto()

8 months agodict: Rename dict_settings variables to server_settings
Timo Sirainen [Thu, 21 Mar 2024 22:09:06 +0000 (00:09 +0200)] 
dict: Rename dict_settings variables to server_settings

8 months agodict: Rename dict_init_cache_get() to dict_init_cache_get_legacy()
Timo Sirainen [Thu, 21 Mar 2024 22:03:53 +0000 (00:03 +0200)] 
dict: Rename dict_init_cache_get() to dict_init_cache_get_legacy()

8 months agodict: Rename dict_server_settings.dicts to legacy_dicts
Timo Sirainen [Thu, 21 Mar 2024 22:01:35 +0000 (00:01 +0200)] 
dict: Rename dict_server_settings.dicts to legacy_dicts