Univention Bugzilla – Bug 53650
univention-run-join-scripts wrong error message: Invalid credentials when ldap server is down
Last modified: 2021-08-11 22:18:57 CEST
univention-run-joinscript: 195 if ! ldapsearch -x -LLL -b "$ldap_base" -D "$binddn" -y "$DCPWD" -LLL -s base >/dev/null 2>&1 196 then 197 failed_message "Invalid credentials" # ldapsearch -x -LLL -b dc=autotest203,dc=local -D uid=Administrator,cn=users,dc=autotest203,dc=local -y /tmp/univention -LLL -s base ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) We should add stderr of ldapsearch into the error message and don't drop it!