php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29492 ldap_parse_reference is missing in Windows builds
Submitted: 2004-08-02 14:08 UTC Modified: 2005-01-20 23:52 UTC
Votes:5
Avg. Score:4.4 ± 0.5
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:2 (40.0%)
From: sami at sipponen dot com Assigned: edink (profile)
Status: Closed Package: LDAP related
PHP Version: 4.3.8 OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sami at sipponen dot com
New email:
PHP Version: OS:

 

 [2004-08-02 14:08 UTC] sami at sipponen dot com
Description:
------------
It seems that ldap_parse_reference() function is missing in latest PHP 4.3.8 build. PHP 5.0.0 Windows build doesn't have that function either.

However ldap_first_reference() and ldap_next_reference() functions are working perfectly.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-23 21:48 UTC] hholzgra@php.net
seems to be related to the following addition to config.m4

  dnl Solaris 2.8 claims to be 2004 API, but doesn't have
  dnl ldap_parse_reference() nor ldap_start_tls_s()
  AC_CHECK_FUNCS([ldap_parse_reference ldap_start_tls_s])

a HAVE_... macro for ldap_start_tls_s was added to config.w32
but it looks as if ldap_parse_reference was overlooked

at least according to MSDN windows supports 
ldap_parse_reference just fine

i can't compile and test on windows so i'll add the 
required patch here for now:

--- ext/ldap/config.w32 19 Dec 2003 15:04:21 -0000  1.1
+++ ext/ldap/config.w32 23 Oct 2004 19:42:32 -0000
@@ -12,6 +12,7 @@
      CHECK_LIB("olber32.lib", "ldap", PHP_LDAP)) {
    EXTENSION('ldap', 'ldap.c');
 
+   AC_DEFINE('HAVE_LDAP_PARSE_REFERENCE', 1);
    AC_DEFINE('HAVE_LDAP_START_TLS_S', 1);
    AC_DEFINE('HAVE_LDAP', 1);
 [2005-01-08 13:57 UTC] sniper@php.net
Edin, can you fix this?

 [2005-01-20 23:52 UTC] edink@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 04:01:29 2024 UTC