From 5b1df26b8952cefb8a1cd7ca5a91ef4882ea1e0c Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 2 Oct 2023 09:55:27 -0700 Subject: [PATCH] Need to set LDAP domain --- mail-server.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/mail-server.nix b/mail-server.nix index a90b4bb..626ed2c 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -207,6 +207,7 @@ in { dovecotSssdEnv = { source-file = pkgs.writeText "dovecot-sssd.env" (concatStringsSep "\n" [ + "SSSD_LDAP_DOMAIN=${cfg.primary-domain}" "SSSD_LDAP_SERVER=ldap://ldap-proxy:3389/" "SSSD_LDAP_SEARCH_BASE=${cfg.ldap.base}" "SSSD_LDAP_USER_SEARCH_BASE=${cfg.ldap.user-ou},${cfg.ldap.base}"