nixos/sssd-ldap: fix eval

Introduced by fd7d901133. 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/`.
This commit is contained in:
Maximilian Bosch 2022-08-18 11:34:20 +02:00
parent 8d92d42c5c
commit 2f0bd926ea
No known key found for this signature in database
GPG Key ID: 9A6EEA275CA5BE0A

View File

@ -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;