On Fri, May 03, 2002 at 03:34:46PM +0300, Zeev Suraski wrote:
If ldap_first_entry() relies on the resource that is passed onto it, then
it should add a reference count to it, using zend_list_addref(). The
resource ldap_first_entry returns should be responsible for this reference,
and its
At 12:02 01/05/2002, Stig Venaas wrote:
This is a bit involved, I'll try to explain. I'm trying to fix a
problem in the LDAP extension, but not sure how best to do it.
The issue is that code like
$e = ldap_first_entry($ds, ldap_read($ds,$dn,objectClass=*));
$a = ldap_get_attributes($ds, $e);
This is a bit involved, I'll try to explain. I'm trying to fix a
problem in the LDAP extension, but not sure how best to do it.
The issue is that code like
$e = ldap_first_entry($ds, ldap_read($ds,$dn,objectClass=*));
$a = ldap_get_attributes($ds, $e);
crashes.
What happens is that