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:
@@ -28,7 +28,7 @@ in import ./make-test-python.nix ({pkgs, ...}: {
|
|||||||
attrs = {
|
attrs = {
|
||||||
objectClass = [ "olcDatabaseConfig" "olcMdbConfig" ];
|
objectClass = [ "olcDatabaseConfig" "olcMdbConfig" ];
|
||||||
olcDatabase = "{1}mdb";
|
olcDatabase = "{1}mdb";
|
||||||
olcDbDirectory = "/var/db/openldap";
|
olcDbDirectory = "/var/lib/openldap/db";
|
||||||
olcSuffix = dbSuffix;
|
olcSuffix = dbSuffix;
|
||||||
olcRootDN = "cn=${ldapRootUser},${dbSuffix}";
|
olcRootDN = "cn=${ldapRootUser},${dbSuffix}";
|
||||||
olcRootPW = ldapRootPassword;
|
olcRootPW = ldapRootPassword;
|
||||||
|
|||||||
Reference in New Issue
Block a user