[php-maint] Bug#401712: Enable AUTH PLAIN mechanism in underlaying
	libc-client
    Michael Heimpold 
    michael.heimpold at s2000.tu-chemnitz.de
       
    Tue Dec  5 15:34:22 CET 2006
    
    
  
Package: php5-imap
Version: 5.2.0-7
Severity: wishlist
Tags: patch
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
php5-imap doesn't enabled the necessary authenticator in c-client.
(Same as Bug 400200, didn't know if it is neccesary to assign this bug 
to both packages or howto merge, sorry)
-------------- next part --------------
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 ();
    
    
More information about the pkg-php-maint
mailing list