|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-29 08:27 UTC] mfischer@php.net
[2002-04-29 09:03 UTC] macchi at in2p3 dot fr
[2002-04-29 09:07 UTC] mfischer@php.net
[2002-04-29 09:50 UTC] macchi at in2p3 dot fr
[2002-06-21 15:31 UTC] venaas@php.net
[2002-06-26 08:34 UTC] macchi at in2p3 dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
After have upgrade my PHP distribution from versin 4.1.2 to version 4.2.0, the ldap_bind function no longer works : My script is : <?php define("LDAP_HOSTNAME", "ldapserver.in2p3.fr"); define("LDAP_BASEDN", "o=in2p3, c=fr"); $cid = ldap_connect(LDAP_HOSTNAME); ldap_bind($cid); echo ldap_search($cid, LDAP_BASEDN, "(objectclass=*)"); ?> It perfacly works whith php 4.1.2. With 4.2.0 I get the following error : Warning: LDAP: Unable to bind to server: Can't contact LDAP server in /sites/webtest/htdocs/ldap/test.php on line 13 (which is the line number of ldap_bind instruction). Obviously I didn't change anything in the OpenLDAP release I use nor in the compiler (Sun cc).