ID: 33500 Updated by: paj...@php.net Reported By: ed2019 at columbia dot edu -Status: Assigned +Status: Feedback Bug Type: Feature/Change Request Operating System: * PHP Version: 5.2.9 Assigned To: pajoye New Comment:
Please try this patch: http://pierre.libgd.org/patches/bug33500.txt (against PHP 5.3). It adds a parameter option to imap_open. For now only 'DISABLE_AUTHENTICATOR' is supported. Example usages: $im = imap_open($hostname, $username, $password, NULL, 1, array('DISABLE_AUTHENTICATOR' => array('GSSAPI', 'NTLM'))); $im = imap_open($hostname, $username, $password, NULL, 1, array('DISABLE_AUTHENTICATOR' => 'NTLM')); To disable respectively GSSAPI and NTLM or only NTLM. Previous Comments: ------------------------------------------------------------------------ [2009-09-15 20:13:13] haggis at shaz-bot dot com any ETA of when this will be checked into SVN (and what files to pull)? We have run into this exact problem when we upgraded to Exchange 2007. ------------------------------------------------------------------------ [2009-09-08 12:47:54] 14908832 at sun dot ac dot za I had a similar problem, which I thought was caused by this bug/lack of feature, but was solved by a comment I found at the PHP manual's function description of imap_open. It merely required me to add '/user=' to the end of my list of protocols. I'm not sure whether this directly relates to this problem, but I hope it helps someone. ------------------------------------------------------------------------ [2009-07-02 08:32:37] paj...@php.net Yes, have the patch but it was too late for 5.3.0. It will be committed in HEAD and after 5.3.1. ------------------------------------------------------------------------ [2009-07-01 17:38:37] hperrin at SPAMMENOTgmail dot com I'm running Group-Office and I have this same problem. I can get it to login to our Exchange 2007 server by running `kinit usern...@domain.com` on Apache's user. However, this causes all the Group-Office mail accounts to receive that user's emails, regardless of the credentials given to them. From my understanding, it is not technically incorrect to use c-client the way PHP currently does, but it is inefficient and limits the developers possibilities. So, it's been over a month since this request was updated. Is there any news on the status of this issue? Pajoye, if you can fix this, you will be my personal hero, and I'll name something after you. ;) ------------------------------------------------------------------------ [2009-05-21 09:23:43] paj...@php.net It is a feature request, if you read our last two comments you will see that we already agreed on that. ------------------------------------------------------------------------ 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