ID: 39779 Updated by: [EMAIL PROTECTED] Reported By: michael dot heimpold at s2000 dot tu-chemnitz dot de -Status: Open +Status: Closed Bug Type: IMAP related Operating System: Debian Etch PHP Version: 5.2.0 New Comment:
This bug has been fixed in CVS. 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: ------------------------------------------------------------------------ [2006-12-16 13:44:35] michael dot heimpold at s2000 dot tu-chemnitz dot de Fits better in category 'IMAP related' ------------------------------------------------------------------------ [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