Re: Re: 4.1.0RC4
| From: | Stig Venaas | Date: | Sat, 01 Dec 2001 08:36:28 +0000 |
| Subject: | Re: Re: 4.1.0RC4 | ||
| References: | 1 2 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-72188@lists.php.net to get a copy of this message | ||
On Fri, Nov 30, 2001 at 10:25:14PM -0700, Zak Greant wrote:
> On November 30, 2001 09:12 pm, Zeev Suraski wrote:
> > http://www.php.net/~zeev/php-4.1.0RC4.tar.gz
> >
> > The plan is to release Monday, unless a real earth quaker is found...
>
> Builds and runs on SuSE 7.1 as CGI
> See http://fooassociates.com/phpqa/index.php?ZakGreantBuilds4.1.0RC4ì
> ïrjx¯Çš“#ˆf�I
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.
Here's a script that illustrates how they don't work:
$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.
Stig