Need to set LDAP domain

This commit is contained in:
niten 2023-10-02 09:55:27 -07:00
parent 6847ced933
commit 5b1df26b89
1 changed files with 1 additions and 0 deletions

View File

@ -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}"