ninedocker/services/30-openldap/volume/nine/check.sh
2024-07-24 14:11:40 +00:00

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