ldap: Use hashed passwords in the test

[?]
Oct 12, 2020, 3:16 PM
4GDEH2SRXF7QEHWN45S7XNDMNIE2ARQS7ULU2H3FJIBLXYJODITAC

Dependencies

  • [2] B22SQY65 LDAP add test for roles and multiple users
  • [3] A4NSGFS3 LDAP: add VM test to flake.nix
  • [*] RWNXH3H2 lastModified -> lastModifiedDate

Change contents

  • edit in flake.nix at line 369
    [3.508]
    [3.508]
    extraConfig = ''
    moduleload pw-sha2
    '';
  • edit in flake.nix at line 375
    [3.570]
    [3.570]
    # userPassword generated via `slappasswd -o module-load=pw-sha2 -h '{SSHA256}'`
    # The admin user has the password `password and `user` has the password `foobar`.
  • replacement in flake.nix at line 409
    [3.1255][3.1255:1294]()
    userPassword: foobar
    [3.1255]
    [2.447]
    userPassword: {SSHA256}B9rfUbNgv8nIGn1Hm5qbVQdv6AIQb012ORJwegqELB0DWCzoMCY+4A==
  • replacement in flake.nix at line 417
    [2.690][2.690:731]()
    userPassword: password
    [2.690]
    [3.1294]
    userPassword: {SSHA256}meKP7fSWhkzXFC1f8RWRb8V8ssmN/VQJp7xJrUFFcNUDuwP1PbitMg==