Allan,
I tried this, but the LDAP test just shows green that everything is O.K.
Do you get additional output anywhere showing that it pulled data from the ldap query?
James
-----Original Message----- From: Allan Spencer [mailto:allan at zandahar.net] Sent: Tuesday, November 14, 2006 4:26 PM To: hobbit at hswn.dk Subject: Re: [hobbit] LDAP Test
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk