Xymon Mailing List Archive search

ldap test without binary output

list Henrik Størner
Mon, 24 Oct 2005 15:37:01 +0200
Message-Id: <user-b2eea99a5ea3@xymon.invalid>

On Mon, Oct 24, 2005 at 02:51:25PM +0200, Torben Aagaard wrote:
Is it possible to do a ldap test and NOT display the (binary) output from
the ldap query ?

I'm monitoring a Certificate Revokation List, which is in binary format.
Hobbit displays the output on the web page, and it sure is ugly :)
I guess it is...

It should be possible to display just a single printable attribute, 
e.g. the "cn" attribute. The syntax for the ldap requests is

       ldap://hostport/dn[?attrs[?scope[?filter[?exts]]]]

So if you put "cn" for the "attrs" section of the URL, it should
report only the common-name attribute, which normally is printable 
characters only.

Regards,
Henrik