Xymon Mailing List Archive search

badtest option for ldap

list Henrik Størner
Sun, 23 Jan 2011 11:25:31 +0000 (UTC)
Message-Id: <ihh37b$a78$user-e356fad9864f@xymon.invalid>

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