Add LDAP network, disable nscd

This commit is contained in:
2023-10-02 12:17:42 -07:00
parent 1dad0af755
commit 675e92dd22
2 changed files with 9 additions and 8 deletions
+2 -4
View File
@@ -260,14 +260,14 @@ in {
socketPath = "/var/run/dovecot2/old-stats";
};
nscd.enable = false;
sssd = {
enable = true;
# FIXME: pass as config
environmentFile = "/run/dovecot-secrets/sssd.env";
config = ''
[nss]
filter_users = root
filter_groups = root
reconnection_retries = 3
[sssd]
@@ -283,8 +283,6 @@ in {
cache_credentials = False
id_provider = ldap
auth_provider = ldap
access_provider = ldap
chpass_provider = ldap
ldap_uri = $SSSD_LDAP_SERVER
ldap_schema = rfc2307bis