#29492 [Opn]: ldap_parse_reference is missing in Windows builds
| From: | hholzgra@php.net | Date: | Sat, 23 Oct 2004 19:48:27 +0000 |
| Subject: | #29492 [Opn]: ldap_parse_reference is missing in Windows builds | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68022@lists.php.net to get a copy of this message | ||
ID: 29492
Updated by: hholzgra@php.net
Reported By: sami at sipponen dot com
Status: Open
Bug Type: LDAP related
Operating System: Windows Server 2003
PHP Version: 4.3.8
New Comment:
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);
Previous Comments:
------------------------------------------------------------------------
[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