Skip to content

Commit

Permalink
[bitnami/openldap] Check pw-sha2 library output
Browse files Browse the repository at this point in the history
Signed-off-by: Jota Martos <jotamartos@vmware.com>
  • Loading branch information
jotamartos committed Sep 6, 2023
1 parent 5628b9e commit ca3da3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vib/openldap/goss/openldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca3da3d

Please sign in to comment.