#33500 [Asn->Csd]: imap_open() fails when the server advertises GSSAPI
From: pajoye@php.net Date: Tue, 05 Jan 2010 01:12:31 +0000 Subject: #33500 [Asn->Csd]: imap_open() fails when the server advertises GSSAPI References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-146342@lists.php.net to get a copy of this message
ID: 33500
Updated by: pajoye@php.net
Reported By: ed2019 at columbia dot edu
-Status: Assigned
+Status: Closed
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5.2.9
Assigned To: pajoye
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2010-01-05 01:12:19] svn@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=293126
Log: - [doc] add support for DISABLE_AUTHENTICATOR in imap_open (fix
#33500)
------------------------------------------------------------------------
[2010-01-05 01:02:16] svn@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=293124
Log: - [doc] fix exchange and other imap server support when a
preferred auth method is not desired. Add option support to imap_open.
Only 'DISABLE_AUTHENTICATOR' is supported yet, see #33500 for an example
------------------------------------------------------------------------
[2009-11-04 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-11-02 16:22:40] nick at mailtrust dot com
It looks like you may have forgotten to add the following to your
patch:
Index: php_imap.c
===================================================================
--- php_imap.c (revision 3434)
+++ php_imap.c (working copy)
@@ -105,6 +105,7 @@
ZEND_BEGIN_ARG_INFO_EX(arginfo_imap_open, 0, 0, 3)
ZEND_ARG_INFO(0, mailbox)
ZEND_ARG_INFO(0, user)
ZEND_ARG_INFO(0, password)
ZEND_ARG_INFO(0, options)
ZEND_ARG_INFO(0, n_retries)
+ ZEND_ARG_INFO(0, params)
ZEND_END_ARG_INFO()
This should allow for a max of 6 arguments instead of just 5.
------------------------------------------------------------------------
[2009-10-27 11:24:31] pajoye@php.net
It sounds like the patch was not applied then. It clearly takes 3 or 6
parameters:
+ if (zend_parse_parameters(argc TSRMLS_CC, "sss|lla", &mailbox,
&mailbox_len, &user, &user_len,
+ &passwd, &passwd_len, &flags, &retries, ¶ms) == FAILURE) {
Can you verify that the patch was actually applied?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/33500
--
Edit this bug report at http://bugs.php.net/?id=33500&edit=1
Thread (36 messages)
- #33500 [Opn->Bgs]: imap_open() fails when the server advertises GSSAPI
- #33500 [Bgs->Opn]: imap_open() fails when the server advertises GSSAPI
- #33500 [Opn->Bgs]: imap_open() fails when the server advertises GSSAPI
- #33500 [Bgs->Opn]: imap_open() fails when the server advertises GSSAPI
- #33500 [Opn]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Opn->Fbk]: imap_open() fails when the server advertises GSSAPI
- #33500 [Fbk->Bgs]: imap_open() fails when the server advertises GSSAPI
- #33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- #33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- #33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- #33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- #33500 [Bgs->Asn]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Asn]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Asn]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [Asn->Fbk]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [NoF->Fbk]: imap_open() fails when the server advertises GSSAPI
- #33500 [Com]: imap_open() fails when the server advertises GSSAPI
- #33500 [NoF->Asn]: imap_open() fails when the server advertises GSSAPI
- #33500 [Asn->Csd]: imap_open() fails when the server advertises GSSAPI
| « previous | php.bugs (#146342) | next » |
|---|