Bug 43834 - check UNIVENTION_LDAP_AUTH does not work
check UNIVENTION_LDAP_AUTH does not work
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Felix Botner
Stefan Gohmann
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-13 16:24 CET by Erik Damrose
Modified: 2022-06-27 17:48 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
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 Erik Damrose univentionstaff 2017-03-13 16:24:19 CET
UNIVENTION_LDAP_AUTH does not work when univention-nagios is installed.

The check calls /usr/lib/nagios/plugins/check_univention_ldap_suidwrapper, which in turn calls other programs, leading to 
/usr/lib/nagios/plugins/check_ldap [...] -y '/etc/machine.secret'

That fails with "Ungültige Option -- y"
Comment 1 Felix Botner univentionstaff 2017-03-29 12:08:55 CEST
Added these two patches

A         monitoring-plugins/4.2-0-0-ucs/2.1.1-1/00-show-all-disk-information.patch
A         monitoring-plugins/4.2-0-0-ucs/2.1.1-1/10-check-ldap-read-password-from-file.patch


to the source package monitoring-plugins formerly known as nagios-plugins.
Comment 2 Stefan Gohmann univentionstaff 2017-03-29 14:48:51 CEST
OK, works again after the upgrade.
Comment 3 Stefan Gohmann univentionstaff 2017-04-04 18:29:56 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".