Edit report at https://bugs.php.net/bug.php?id=64629&edit=1

 ID:                 64629
 User updated by:    geoilie at yahoo dot com
 Reported by:        geoilie at yahoo dot com
 Summary:            function parameter not working
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            IMAP related
 Operating System:   CentOS 6.3
 PHP Version:        5.3.24
 Block user comment: N
 Private report:     N

 New Comment:

Dug some more and I see that the bug was solved in 5.3.3-22 and up.


Previous Comments:
------------------------------------------------------------------------
[2013-04-11 13:02:50] geoilie at yahoo dot com

Description:
------------
---
>From manual page: 
>http://www.php.net/function.imap-open#refsect1-function.imap-open-description
---
Function fails to connect to Exchange 2007-2010 IMAP or POP.
See related: https://bugs.php.net/bug.php?id=33500
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=161826

Problem still not solved.
Using the new DISABLE_AUTHENTICATOR parameter, the server ignores the options 
to  returns: "Array ( [0] => Unknown GSSAPI failure: An invalid name was 
supplied [1] => GSSAPI mechanism status: Hostname cannot be canonicalized 
[2]..."
Problem noted in support forums in many web applications that try to read an 
Exchange POP or IMAP mailbox: sugerCRM, GLPI, Sit, OsTicket, Kayako, etc.


Test script:
---------------
<?php
imap_open('{mailserver.com/novalidate-cert/ssl}','username','password',null,1,array(DISABLE_AUTHENTICATOR=>array('GSSAPI',
 'PLAIN')));
var_dump(imap_errors());

        


Expected result:
----------------
bool(false) 
The code should open a connection string to the Exchange imap server.

Actual result:
--------------
array(6) { [0]=> string(52) "Unknown GSSAPI failure: An invalid name was 
supplied" [1]=> string(57) "GSSAPI mechanism status: Hostname cannot be 
canonicalized" [2]=> string(56) "Retrying PLAIN authentication after 
AUTHENTICATE failed." [3]=> string(56) "Retrying PLAIN authentication after 
AUTHENTICATE failed." [4]=> string(57) "Can not authenticate to IMAP server: 
AUTHENTICATE failed." [5]=> string(49) "[CLOSED] IMAP connection broken (server 
response)" } 


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64629&edit=1

Reply via email to