Xymon Mailing List Archive search

LDAP Test

list Allan Spencer
Wed, 15 Nov 2006 09:25:54 +1100
Message-Id: <user-8e62fb863680@xymon.invalid>

James Wade wrote:
Henrik,

I could really use some help on this one.

Can you point me in the right direction?

Thanks….James


*From:* James Wade [mailto:user-659655b2ea05@xymon.invalid]
*Sent:* Tuesday, November 14, 2006 12:10 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] LDAP Test

I’ve compiled the LDAP test in hobbit, and I’m trying

to test the login ability. However, I’m not sure it’s working.

All the test status shows me is O.K….

Here’s what’s in my bb-hosts file:

192.168.20.1 systemA # ldaplogin=ldapuser:passwd ldap:systemA:389

Am I missing something here? What’s a good way to test if I’m actually

doing a login test of ldap? What does the status normally show?

Thanks….James
You should put something to search for on the end of the line

eg 192.168.20.1 systemA # ldaplogin=ldapuser:passwd ldap:systemA:389/uid=someuser (from memory its /attr=whatever cant see our working one right now)

it will tell you how many results are returned and I think fail if nothing is returned.

Also if your ldap DOESNT allow anonymous bind then the fact that the login works I guess is a test in itself


Allan