ninedocker/services/30-openldap/volume/nine/check.sh

4 lines
129 B
Bash
Executable File

#!/bin/bash
set -e
ldapsearch -x -H ldap://${LDAP_HOST}:${LDAP_PORT} -D ${LDAP_USER} -b ${LDAP_BASEDN} -w ${LDAP_PASSWORD}
exit 0