php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4621 LDAP does not do anything
Submitted: 2000-05-26 20:19 UTC Modified: 2000-05-26 21:36 UTC
From: steve dot neuhart at webhelp dot com Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.0 Release OS: RedHat 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: steve dot neuhart at webhelp dot com
New email:
PHP Version: OS:

 

 [2000-05-26 20:19 UTC] steve dot neuhart at webhelp dot com
I configured php4 with....
 ./configure --with-apache=../apache_1.3.11 \
--with-ldap=../openldap-1.2.10 \
--with-imap=../imap-4.7a \
--with-mysql \
--with-gd \
--enable-track-vars 

I tried the following script....
<?php
echo "Connecting Ldap...";
$ds=ldap_connect("127.0.0.1");  

if ($ds) { 
    echo "connect result is ".$ds."\n";
} else {
    echo "Unable to connect to LDAP server";
}
?>

and get "Connecting Ldap...Unable to connect to LDAP server"

I've also tried linking to openLDAP 1.2.9... same thing. It worked fine under php3.0.14. Many people on the IMP mailing list are having the same problems. I've also run tcpdump and the query never hits the network. I'm at a loss.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-26 20:22 UTC] steve dot neuhart at webhelp dot com
sorry... my e-mail is "steve.neuharth@webhelp.com"
 [2000-05-26 21:36 UTC] steve dot neuhart at webhelp dot com
oops... forgot to "make distclean" after I configured php to not use the oracle crap.
ran make distclean on php and apache and reconfigured to NOT enable oracle in PHP and LDAP worked fine after that.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Nov 27 23:03:15 2021 UTC