ID: 39669 Updated by: [EMAIL PROTECTED] Reported By: sujiannming at gmail dot com -Status: Open +Status: Feedback Bug Type: LDAP related Operating System: Linux PHP Version: 4.4.4 New Comment:
What exactly are you looking for, what do you see and how to reproduce it? Previous Comments: ------------------------------------------------------------------------ [2006-11-28 23:45:47] sujiannming at gmail dot com Description: ------------ When connecting to ldaps:// via port 636, the first packet after the TCP handshake should be a SSLv2 "Client Hello." At least tracing ldapsearch, this is the case. However, with both php 4.3.x, 4.4.4, and php 5.1.x, the first packet after the TCP handshake seems to be a SSL Continuation Data. The result of this is the inability for php to bind to the ldap server. Reproduce code: --------------- http://us2.php.net/manual/en/function.ldap-bind.php Expected result: ---------------- When doing a tcpdump, I "should" see a SSLv2 Client Hello packet destined for the ldaps server. Which is what I see when I run the following ldapsearch command: ldapsearch -x -H ldaps://ldap.example.bogus -b dc=example,dc=bogus -D "uid=nocuser,ou=services,dc=example,dc=bogus" -W uid=some_uid Actual result: -------------- I'm actually seeing a SSL Continuation Data packet instead. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39669&edit=1