From 6fb4b43428eef14cf81332188696b7768649c0e0 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 1 Oct 2023 08:09:51 -0700 Subject: [PATCH] Alternative way to specify pass_attrs? --- mail-server.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-server.nix b/mail-server.nix index 8397ebd..fcf6eb2 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -211,7 +211,7 @@ in { "base = ${cfg.ldap.base}" "user_filter = (&(objectClass=organizationalPerson)(cn=%n))" "pass_filter = (&(objectClass=organizationalPerson)(cn=%n))" - "pass_attrs = =user=%{ldap:cn}" + "pass_attrs = cn=user" ]); target-file = "/run/dovecot-secret/ldap.conf"; };