[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xymon] badtest option for ldap



Hi Simo,


In <BLU162-w8844DF7E4C6423E132F11ABF90 (at) phx.gbl> simo hmami <simobimou (at) hotmail.com> 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