From f29d321673dc501f139a31ae9d128deaa879a36b Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 30 Sep 2023 08:46:42 -0700 Subject: [PATCH] Try specifying the CN to fetch the user --- postfix.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postfix.nix b/postfix.nix index f4bd48f..fb62478 100644 --- a/postfix.nix +++ b/postfix.nix @@ -200,6 +200,8 @@ in { auth_mechanisms = login plain + user_attrs = =user=%{ldap:cn} + passdb { driver = ldap args = ${cfg.ldap-conf}