From ca3da3dff84ef4752bb214d8745d7a588124196e Mon Sep 17 00:00:00 2001 From: Jota Martos Date: Wed, 6 Sep 2023 11:30:22 +0200 Subject: [PATCH] [bitnami/openldap] Check pw-sha2 library output Signed-off-by: Jota Martos --- .vib/openldap/goss/openldap.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vib/openldap/goss/openldap.yaml b/.vib/openldap/goss/openldap.yaml index 74ecb2827c4ec..fa59ff9461bd2 100644 --- a/.vib/openldap/goss/openldap.yaml +++ b/.vib/openldap/goss/openldap.yaml @@ -21,6 +21,11 @@ file: exists: true {{ end }} command: + check-pw-sha2-library-output: + exec: slappasswd -o module-load=/opt/bitnami/openldap/libexec/openldap/pw-sha2.so -h '{SHA256}' -s bitnami123 + exit-status: 0 + stdout: + - zbRYwNWa5lwE8+I7W+YIdh2pA/UhaZWJB+eJ7euy5Fc= check-enabled-backends: exec: slapd -VVV 2>&1 exit-status: 0