From eadeaf42296628d3e4c0797fd9a850d0843320e4 Mon Sep 17 00:00:00 2001 From: quitte Date: Fri, 25 Aug 2023 15:01:52 +0200 Subject: [PATCH] ldap: fix group syncing --- modules/ldap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ldap/default.nix b/modules/ldap/default.nix index 9d6db97..4e14c1c 100644 --- a/modules/ldap/default.nix +++ b/modules/ldap/default.nix @@ -98,9 +98,9 @@ in rec { enable = true; server = "ldap://localhost"; - base = "ou=users,${portunus.ldap.suffix}"; + base = "${portunus.ldap.suffix}"; bind = { - distinguishedName = "uid=${portunus.ldap.searchUserName},${base}"; + distinguishedName = "uid=${portunus.ldap.searchUserName},ou=users,${base}"; passwordFile = config.sops.secrets.nslcd_ldap_search.path; }; daemon.enable = true;