|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-17 22:53 UTC] pollita@php.net
[2004-05-25 01:00 UTC] php-bugs at lists dot php dot net
[2004-05-25 08:34 UTC] thu at nykredit dot dk
[2004-06-04 15:10 UTC] thu at nykredit dot dk
[2004-07-02 11:28 UTC] thu at nykredit dot dk
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 13:00:01 2025 UTC |
Description: ------------ Ldap_connect does not work.. tcpdump shows no traffic on the network when trying to connect.. >dpkg -s |grep ldap gives: ii ldap-utils 2.1.23-1 OpenLDAP utilities ii libldap2 2.1.23-1 OpenLDAP libraries ii libldap2-dev 2.1.23-1 OpenLDAP development libraries The compile went fine and ldap show up as expected in phpinfo() LDAP Support enabled RCS Version $Id: ldap.c,v 1.151 2004/04/06 23:14:06 iliaa Exp $ Total Links 0/unlimited API Version 2004 Vendor Name OpenLDAP Vendor Version 20123 I have compiled with the following directives: './configure' '--with-mysql' '--with-apxs' '--with-gd' '--with-openssl' '--with-zlib' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-dio' '--enable-ftp' '--with-ttf' '--enable-gd-native-ttf' '--with-kerberos' '--with-imap-ssl' '--with-mcrypt' '--enable-embedded-mysqli' '--enable-soap' '--with-xsl' '--with-pear' '--with-ming' '--with-oci8' '--with-ldap' Reproduce code: --------------- <?php $connect = ldap_connect($server); if ($connect) { echo "Connected OK - That is the server ($server) is }else { echo "Connect FAILED server=($server)"; } ?> Expected result: ---------------- I want to get a valid ldap connection, like I do when I run the script on another server with PHP4.. Actual result: -------------- ldap_connect() just returns null... Nothing is ever sent on the network..