Xymon Mailing List Archive search

LDAP test will not use nonstandard port

list John Thurston
Thu, 17 Sep 2015 12:33:36 -0800
Message-Id: <user-598b50bd8ef4@xymon.invalid>

On 9/17/2015 12:11 PM, Scot Kreienkamp wrote:
- snip -
The test results say:
ldap://lzbvidmdvoud1.na.lzb.hq:1389/DC=example,DC=com - failed

So it seems to be picking up the entire LDAP URL without it in quotes.  I have two to test; the first is now surrounded by double quotes, the second is not.  Neither are working.  A simple port check works just fine.  I tried the anonymous bind also, which results in failure also.  Anonymous bind from command line works fine.
a'write then. What if you ask for this test to be performed interactively in debug mode? Try the following, substituting the hostname from hosts.cfg for foo.bar.com.

   xymoncmd xymonnet --noping --debug foo.bar.com

It should spill everything xymonnet is trying to do and give you an idea where the problem is. When I try it, I see (among the debris) the following interesting lines:
Adding tcp test IP=10.2.3.4, port=389, service=ldap, silent=0
. . .
Initiating LDAP session for host foo.bar.com port 389
-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska