From: djlift at mac dot com Operating system: hpux 11.11i PHP version: 5.2.4 PHP Bug Type: LDAP related Bug description: ldap_connect never connects
Description: ------------ Whenever I try to connect to any ldap server in my network, I can never connect. I'm using openldap 2.3.38 on hpux 11.11i. openldap command line binaries work fine. Let me know what else i can provide. Thanks, Mark Reproduce code: --------------- <?php // Connecting to LDAP $ldapconn = ldap_connect("LDAP://10.10.2.50",389); if (!$ldapconn) { echo "failure"; } else { echo "success"; } ?> Expected result: ---------------- success Actual result: -------------- Warning: ldap_connect() [function.ldap-connect]: Could not create session handle: Unknown error in /opt/hpws/apache/htdocs/nissanq/ test.php on line 4 failure -- Edit bug report at http://bugs.php.net/?id=42684&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42684&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42684&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42684&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42684&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42684&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42684&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42684&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42684&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42684&r=support Expected behavior: http://bugs.php.net/fix.php?id=42684&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42684&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42684&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42684&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42684&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42684&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42684&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42684&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42684&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42684&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42684&r=mysqlcfg