[bitnami/openldap] Check pw-sha2 library output (#47483)

Signed-off-by: Jota Martos <jotamartos@vmware.com>
This commit is contained in:
Juan José Martos 2023-09-06 13:34:58 +02:00 committed by GitHub
parent 4f5b2e6a00
commit 96162e11df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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