Xymon Mailing List Archive search

badtest option for ldap

list Simo Hmami
Mon, 24 Jan 2011 11:28:25 +0000
Message-Id: <user-2281769269e6@xymon.invalid>

Hi, Great it works fine, Thank you very much Henrik
Regards,

To: xymon at xymon.com
From: user-ce4a2c883f75@xymon.invalid
Date: Sun, 23 Jan 2011 11:25:31 +0000
Subject: Re: [xymon] badtest option for ldap

Hi Simo,


In <user-ca4c524687d4@xymon.invalid> simo hmami <user-33c2c6af3912@xymon.invalid> writes:
    0.0.0.0 hostname # ldap badldap:1:2:5 > works fine but
    0.0.0.0 hostname # ldap://somehost:someprot/dn badldap:1:2:5
doesn't work
I couldn't get it to work myself, until I had a close look at the code.

Turns out that for LDAP URL's you have to use "badldapurl:1:2:5" instead. And no, this isn't documented anywhere - it will be now.


Regards,
Henrik