ID:               39779
 User updated by:  michael dot heimpold at s2000 dot tu-chemnitz dot de
 Reported By:      michael dot heimpold at s2000 dot tu-chemnitz dot de
 Status:           Open
-Bug Type:         Feature/Change Request
+Bug Type:         IMAP related
 Operating System: Debian Etch
 PHP Version:      5.2.0
 New Comment:

Fits better in category 'IMAP related'


Previous Comments:
------------------------------------------------------------------------

[2006-12-08 17:47:06] michael dot heimpold at s2000 dot tu-chemnitz dot
de

Description:
------------
I couldn't connect to an imap server which only advertises AUTH=PLAIN
as authentication mechanism. After having a look at the sources I
wonder why php-imap doesn't enabled the necessary authenticator in
c-client.
After adding one line all works perfectly.
Have I missed anything why the authenticator isn't included by
default?


Reproduce code:
---------------
Patch of added line:
--snip--
diff -urN php5-5.2.0.orig/ext/imap/php_imap.c
php5-5.2.0/ext/imap/php_imap.c
--- php5-5.2.0.orig/ext/imap/php_imap.c 2006-10-05 16:25:41.000000000
+0200
+++ php5-5.2.0/ext/imap/php_imap.c      2006-12-05 16:21:11.000000000 +0100
@@ -463,6 +463,7 @@
 #if HAVE_IMAP_KRB && defined(HAVE_IMAP_AUTH_GSS)
        auth_link(&auth_gss);           /* link in the gss authenticator */
 #endif
+       auth_link(&auth_pla);           /* link in the pla authenticator */
 
 #ifdef HAVE_IMAP_SSL
        ssl_onceonlyinit ();
--snap--



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


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

Reply via email to