|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 26 06:00:02 2025 UTC |
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);