Bug 53650 - univention-run-join-scripts wrong error message: Invalid credentials when ldap server is down
univention-run-join-scripts wrong error message: Invalid credentials when lda...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-11 22:18 CEST by Florian Best
Modified: 2021-08-11 22:18 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 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!