diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2022-08-18 11:34:20 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2022-08-18 11:37:29 +0200 |
commit | 2f0bd926ea9c15b9b76c25410ce3dd7c2bdda869 (patch) | |
tree | 1fa843e152833613699b3cdcbc9fb5da07bed918 | |
parent | 8d92d42c5c6c19e3ef5d9e01f94bde763364c48b (diff) |
nixos/sssd-ldap: fix eval
Introduced by fd7d901133f9fbfc893cdb33f7d630846bb21f9c. The openldap module now expects the database directory to be below `/var/lib/openldap`, oterhwise it'll fail evaluation like this: Failed assertions: - Database dc=example,dc=org has `olcDbDirectory` (/var/db/openldap) that is not a subdirectory of `/var/lib/openldap/`.
-rw-r--r-- | nixos/tests/sssd-ldap.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/sssd-ldap.nix b/nixos/tests/sssd-ldap.nix index f816c0652cc55..2b328f71d17c7 100644 --- a/nixos/tests/sssd-ldap.nix +++ b/nixos/tests/sssd-ldap.nix @@ -28,7 +28,7 @@ in import ./make-test-python.nix ({pkgs, ...}: { attrs = { objectClass = [ "olcDatabaseConfig" "olcMdbConfig" ]; olcDatabase = "{1}mdb"; - olcDbDirectory = "/var/db/openldap"; + olcDbDirectory = "/var/lib/openldap/db"; olcSuffix = dbSuffix; olcRootDN = "cn=${ldapRootUser},${dbSuffix}"; olcRootPW = ldapRootPassword; |