ID:               29492
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sami at sipponen dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         LDAP related
 Operating System: Windows Server 2003
 PHP Version:      4.3.8
-Assigned To:      wez
+Assigned To:      edink
 New Comment:

Edin, can you fix this?



Previous Comments:
------------------------------------------------------------------------

[2004-10-23 21:48:26] [EMAIL PROTECTED]

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);

------------------------------------------------------------------------

[2004-08-02 14:08:46] 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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29492&edit=1

Reply via email to