fixing secrets for sogo

This commit is contained in:
revol-xut 2023-04-03 23:14:12 +02:00
parent e37482ef0a
commit c813f3ac83
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07
4 changed files with 12 additions and 10 deletions

View file

@ -4,12 +4,10 @@ let
domain = config.fsr.domain;
in
{
sops.secrets.sogo_ldap_search = {
key = "portunus_search";
# owner = config.systemd.services keine Ahnung was hier hin soll
sops.secrets.ldap_search = {
owner = config.systemd.services.sogo.serviceConfig.User;
};
services = {
sogo = {
enable = true;
@ -22,7 +20,7 @@ in
UIDFieldName = uid;
baseDN = "ou = users, dc=ifsr, dc=de";
bindDN = "uid=search, ou=users, dc=ifsr, dc=de";
bindPassword = ${config.sops.secrets.SOGo_ldap_search.path};
bindPassword = ${config.sops.secrets.ldap_search.path};
hostname = "ldap://localhost";
canAuthenticate = YES;
id = directory;