summary refs log tree commit diff
path: root/nixos/tests/openldap.nix
diff options
context:
space:
mode:
authorKai Wohlfahrt <kai.wohlfahrt@gmail.com>2022-06-04 16:39:35 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-06-29 19:59:06 +0200
commitd1f55ce0a462a036f3d54631c24a8f344ad32902 (patch)
treeefe56606f0fce6c4787848e89ca209ed8efc02ff /nixos/tests/openldap.nix
parent6e6f33ad838a4935fb51684a56f6f27bcc56c4e6 (diff)
downloadnixpkgs-d1f55ce0a462a036f3d54631c24a8f344ad32902.tar
nixpkgs-d1f55ce0a462a036f3d54631c24a8f344ad32902.tar.gz
nixpkgs-d1f55ce0a462a036f3d54631c24a8f344ad32902.tar.bz2
nixpkgs-d1f55ce0a462a036f3d54631c24a8f344ad32902.tar.lz
nixpkgs-d1f55ce0a462a036f3d54631c24a8f344ad32902.tar.xz
nixpkgs-d1f55ce0a462a036f3d54631c24a8f344ad32902.tar.zst
nixpkgs-d1f55ce0a462a036f3d54631c24a8f344ad32902.zip
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.
Diffstat (limited to 'nixos/tests/openldap.nix')
-rw-r--r--nixos/tests/openldap.nix1
1 files changed, 1 insertions, 0 deletions
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 = [