php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2101 Macro PHP_FE when applied to ext/ldap/ldap.c ldap_close function call fails.
Submitted: 1999-08-18 07:05 UTC Modified: 1999-08-21 05:48 UTC
From: cam at solidsys dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 2 OS: Linux RedHat 6.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cam at solidsys dot com
New email:
PHP Version: OS:

 

 [1999-08-18 07:05 UTC] cam at solidsys dot com
The normal make with the openldap libraries, that is with the following configure switch -- configure --with-ldap
causes this to fail
a diff of the file is as follows:

--- ldap.c.orig Wed Aug 18 06:04:17 1999
+++ ldap.c      Tue Aug 17 15:58:52 1999
@@ -67,7 +67,9 @@

 function_entry ldap_functions[] = {
        PHP_FE(ldap_connect,                                                    NULL)
-       PHP_FE(ldap_close,                                                              NULL)
+/*     PHP_FE(ldap_close,                                                              NULL)*/
+       {"ldap_close",                                  php3_ldap_unbind,                               NULL},
+
        PHP_FE(ldap_bind,                                                               NULL)
        PHP_FE(ldap_unbind,                                                             NULL)
        PHP_FE(ldap_read,                                                               NULL)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-21 05:48 UTC] sas at cvs dot php dot net
fixed in cvs
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 10:00:01 2026 UTC