From 907970a86b7d63b21b849a8471744444e71fbe9b Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 30 Sep 2023 14:45:32 -0700 Subject: [PATCH] Try user_attrs in ldap config --- mail-server.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/mail-server.nix b/mail-server.nix index 01525ff..100156b 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -210,6 +210,7 @@ in { "auth_bind_userdn = cn=%u,${cfg.ldap.member-ou},${cfg.ldap.base}" "base = ${cfg.ldap.base}" "user_filter = (&(objectClass=organizationalPerson)(cn=%n))" + "user_attrs = =user=%n" ]); target-file = "/run/dovecot-secret/ldap.conf"; };