[hobbit] LDAP Test

Allan Spencer allan at zandahar.net
Tue Nov 14 23:25:54 CET 2006


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:jkwade at futurefrontiers.com]
> *Sent:* Tuesday, November 14, 2006 12:10 PM
> *To:* hobbit at hswn.dk
> *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



More information about the Xymon mailing list