[Nagiosplug-devel] [ nagiosplug-Patches-1339140 ] Enables check_ldap to monitor root DSE
SourceForge.net
noreply at sourceforge.net
Wed Oct 26 20:51:24 CEST 2005
Patches item #1339140, was opened at 2005-10-26 22:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1339140&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: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rick Frey (grater)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enables check_ldap to monitor root DSE
Initial Comment:
Had need to monitor root DSE using check_ldap but
unable since LDAP search requires a base DN of ""
(empty string).
check_ldap version 1.30 (supplied with 1.4.2 plugins)
does not allow zero length string for base DN.
Modified to remove test for zero length base dn to
allow passing argument of "" for base dn.
Patch to version 1.30:
*** check_ldap.c Sat Dec 25 17:17:44 2004
--- check_ldap.c.patch Wed Oct 26 22:46:29 2005
***************
*** 333,339 ****
if (ld_host==NULL || strlen(ld_host)==0)
usage4 (_("Please specify the host
name\n"));
! if (ld_base==NULL || strlen(ld_base)==0)
usage4 (_("Please specify the LDAP
base\n"));
return OK;
--- 333,339 ----
if (ld_host==NULL || strlen(ld_host)==0)
usage4 (_("Please specify the host
name\n"));
! if (ld_base==NULL)
usage4 (_("Please specify the LDAP
base\n"));
return OK;
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1339140&group_id=29880
More information about the Devel
mailing list