fix ldap nixos test

[?]
Aug 28, 2021, 1:26 PM
4NA42NTFNS5GJJSMATNNCZ6QP6FXV3S4BJNNJWLU6QW6WYO262CQC

Dependencies

  • [2] 4GDEH2SR ldap: Use hashed passwords in the test
  • [3] A4NSGFS3 LDAP: add VM test to flake.nix
  • [4] RWNXH3H2 lastModified -> lastModifiedDate
  • [5] B22SQY65 LDAP add test for roles and multiple users
  • [6] 3VSNQ6TJ Implement VM-test for gitea plugin

Change contents

  • edit in flake.nix at line 861
    [3.508][2.0:90](),[2.90][3.508:569](),[3.508][3.508:569]()
    extraConfig = ''
    moduleload pw-sha2
    '';
    extraDatabaseConfig = ''
    '';
  • replacement in flake.nix at line 862
    [3.570][2.91:286](),[2.286][3.570:611](),[3.570][3.570:611]()
    # userPassword generated via `slappasswd -o module-load=pw-sha2 -h '{SSHA256}'`
    # The admin user has the password `password and `user` has the password `foobar`.
    declarativeContents = ''
    [3.570]
    [3.611]
    # userPassword generated via `slappasswd`
    # The admin user has the password `password` and `user` has the password `foobar`.
    declarativeContents."dc=example" = ''
  • replacement in flake.nix at line 896
    [3.1255][2.287:385]()
    userPassword: {SSHA256}B9rfUbNgv8nIGn1Hm5qbVQdv6AIQb012ORJwegqELB0DWCzoMCY+4A==
    [3.1255]
    [3.447]
    userPassword: {SSHA}gLgBMb86/3wecoCp8gtORgIF2/qCRpqs
  • replacement in flake.nix at line 904
    [3.690][2.386:484]()
    userPassword: {SSHA256}meKP7fSWhkzXFC1f8RWRb8V8ssmN/VQJp7xJrUFFcNUDuwP1PbitMg==
    [3.690]
    [3.1294]
    userPassword: {SSHA}BsgOQcRnoiULzwLrGmuzVGH6EC5Dkwmf