Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 119425 - php function ldap_start_tls undefined
php function ldap_start_tls undefined
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: php (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
: 121711 (view as bug list)
Depends On:
Blocks: 116727
  Show dependency treegraph
Reported: 2004-03-30 07:27 EST by Nicolai van der Smagt
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-11 23:22:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:169 normal SHIPPED_LIVE Updated php packages available 2004-05-11 00:00:00 EDT

  None (edit)
Description Nicolai van der Smagt 2004-03-30 07:27:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040215 Firefox/0.8

Description of problem:
Fatal error: Call to undefined function: ldap_start_tls() in

Though PHP is compiled with openssl and openldap, somehow LDAP start
TLS function is missing.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create test.php in your webroot:
$ds = ldap_connect($LDAP_SERVER,$LDAP_PORT);
if (!ldap_start_tls($ds)) {
    fatal_error("Ldap_start_tls failed");
2 Retrieve test.php in your browser

Actual Results:  Fatal error: Call to undefined function:
ldap_start_tls() in /var/www/html/test.php

Expected Results:  A LDAP connection, secured by TLS should've been made.

Additional info:
Comment 1 Joe Orton 2004-03-30 08:33:02 EST
Thanks for the report.  Yes, this is a bug in the php 4.3.2 configure
script, which should detect the presence of the function in libldap
but fails.
Comment 2 Joe Orton 2004-04-16 09:18:20 EDT
Updated PHP packages which should fix this issue are now available for
testing purposes from the following location:

Comment 3 Joe Orton 2004-04-28 14:11:37 EDT
*** Bug 121711 has been marked as a duplicate of this bug. ***
Comment 4 John Flanagan 2004-05-11 23:22:42 EDT
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.