From 57bfae2d7eb74663f5211d2fa0cc0f861f64c6a0 Mon Sep 17 00:00:00 2001 From: emilylange Date: Sun, 24 May 2026 01:30:59 +0200 Subject: [PATCH] dovecot: fix non-default `cfg.ldap.attributes.password` The option got recently introduced, but never properly wired. --- mail-server/dovecot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index deb7bca..7c4f439 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -438,7 +438,7 @@ in driver = "ldap"; filter = cfg.ldap.dovecot.passFilter; fields = { - password = "%{ldap:userPassword}"; + password = "%{ldap:${cfg.ldap.attributes.password}}"; }; ldap_connection_group = "ldap-passdb-conn"; };