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
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: 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 08:00:01 2026 UTC