OBJECT_TOKEN="${REMAINING_ARGS[1]}"
GIVEN_PASSWD="${REMAINING_ARGS[2]}"
- debug "Checking password '${CYAN}${GIVEN_PASSWD}${NORMAL}' of user '${CYAN}${OBJECT_TOKEN}${NORMAL}' ..."
+ info "Checking password '${CYAN}${GIVEN_PASSWD}${NORMAL}' of user '${CYAN}${OBJECT_TOKEN}${NORMAL}' ..."
}
echo
if [[ "${ldap_passwd_hash}" == "${encr_passwd}" ]] ; then
- echo
echo -e "Passwort ist ${GREEN}OKAY${NORMAL}."
echo
else
- echo
echo -e "Passwort is ${RED}FALSCH${NORMAL}." >&2
echo
exit 1