From d1f55ce0a462a036f3d54631c24a8f344ad32902 Mon Sep 17 00:00:00 2001 From: Kai Wohlfahrt Date: Sat, 4 Jun 2022 16:39:35 +0100 Subject: openldap: change default ldapi directory By default, this is /run/ldapi, which is not compatible with systemd's runtime directories. Change it to /run/slapd/ldapi (in library and server). This makes `ldapi:///` work as a default socket again. --- nixos/tests/openldap.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/tests/openldap.nix') diff --git a/nixos/tests/openldap.nix b/nixos/tests/openldap.nix index 1ef74fe30a2..13afe166b9b 100644 --- a/nixos/tests/openldap.nix +++ b/nixos/tests/openldap.nix @@ -29,6 +29,7 @@ in { environment.etc."openldap/root_password".text = "notapassword"; services.openldap = { enable = true; + urlList = [ "ldapi:///" "ldap://" ]; settings = { children = { "cn=schema".includes = [ -- cgit 1.4.1