[Nagiosplug-devel] [ nagiosplug-Bugs-3142672 ] check_ldap forgets about port when ssl requested

SourceForge.net noreply at sourceforge.net
Thu Dec 23 17:41:51 CET 2010


Bugs item #3142672, was opened at 2010-12-23 05:14
Message generated for change (Settings changed) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3142672&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: release-1.4.15
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ulrik Haugen (ulrik_haugen)
Assigned to: Thomas Guyot-Sionnest (dermoth)
Summary: check_ldap forgets about port when ssl requested

Initial Comment:
If --ssl comes before --port everything works as expected:

# /usr/lib64/nagios/plugins/check_ldap --host ldap-replica --ssl --port 9636 --base '' --ver3
LDAP OK - 0,028 seconds response time|time=0,027583s;;;0,000000

but if --port is supplied before --ssl it is ignored:

# /usr/lib64/nagios/plugins/check_ldap --host ldap-replica --port 9636 --ssl --base '' --ver3
Could not bind to the LDAP server

I havent looked through the source, but I suppose that  when processing --ssl the port is overwritten regardless of whether it's been set or is still on its default value.

# /usr/lib64/nagios/plugins/check_ldap -V
check_ldap v1.4.15 (nagios-plugins 1.4.15)

# uname -a
Linux nypon.it.liu.se 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

# rpm -q --whatprovides /usr/lib*/nagios/plugins/check_ldap
nagios-plugins-1.4.15-2.el5.rf


----------------------------------------------------------------------

Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2010-12-23 11:41

Message:
This problem is now fixed in Git. Thank you for your report.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3142672&group_id=29880




More information about the Devel mailing list