On Sat, Dec 01, 2001 at 09:55:19AM -0700, Zak Greant wrote:
> On December 1, 2001 01:36 am, Stig Venaas wrote:
> > Isn't there anyone on the QA team doing LDAP tests? I hope you agree
> > that ldap_first/next_attribute() not working is bad. I'm doing some
> > testing myself, but not systematic, so I didn't spot this until now.
> 
>       It doesn't look like it. I would imagine that many things are
>       not getting that thoroughly tested... :(

Yes, I suppose so. I'm doing some LDAP tests once in a while, but
not thoroughly.

> > $ds=ldap_connect("158.38.60.76");
> > ldap_bind($ds,"","");
> > $sr=ldap_search($ds,"dc=uninett,dc=no", "objectclass=person",
> > array("cn","mail")); $entry = ldap_first_entry($ds, $sr);
> > echo ldap_first_attribute($ds, $entry, $ber);
> > echo ldap_next_attribute($ds, $entry, $ber);
> >
> > If it works, you should get "cnmail" as output. As it is now, you
> > will get an error that $ber is not a valid resource, since neither
> > of the functions set $ber. This works with latest CVS and if you
> > apply my latest ldap.c change to 4.1.0.
> 
>       Anyone want to step up and test this?

Of course I've tested this myself. It's now in the 4.0.7 branch, and
should be in RC5. It would be reassuring if this and other LDAP things
were tested by the QA team though. I'll try to do more LDAP testing
myself with future releases.

Stig

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to