Bug #18174: IMAP login failures on 4.2.1 fine under 4.0.6

From: Date: Fri, 05 Jul 2002 07:32:33 +0000
Subject: Bug #18174: IMAP login failures on 4.2.1 fine under 4.0.6
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13177@lists.php.net to get a copy of this message
From: jhsieh@stickman-computing.org Operating system: Solaris 8 PHP version: 4.2.1 PHP Bug Type: IMAP related Bug description: IMAP login failures on 4.2.1 fine under 4.0.6 Apache 1.3.26 with mod_ssl 2.8.10 and PHP 4.2.1 on Solaris 8 using UW IMAP 2001a using Horde IMP 2.2.8, gcc-2.95.2 Under 4.0.6 (which I've reverted to) everything works fine. ./configure --with-mysql=/local/mysql \ --with-apache=../apache_1.3.26 --enable-track-var \ --prefix=/local --with-imap=../imap-2001a \ --enable-force-cgi-redirect --with-gettext \ Under 4.2.1, I can't ever get logged in. Login fails. ./configure --with-mysql=/local/mysql --with-apache=../apache_1.3.26 --enable-track-var --prefix=/local --with-imap=/export/src/imap-2001a --with-imap-ssl=/local/openssl --enable-force-cgi-redirect --with-gettext In syslog, logging the IMAP login attempts using 4.2.1, I am seeing: Jul 5 01:44:55 uniblab imapd[14269]: [ID 927837 mail.info] connect from uniblab-int Jul 5 01:44:55 uniblab imapd[14269]: [ID 806292 mail.debug] imap service init from 10.0.0.11 Jul 5 01:44:55 uniblab imapd[14269]: [ID 985434 mail.info] Command stream end of file, while reading line user=??? host=uniblab-int [10.0.0.11] A successful connect under 4.0.6 looks like: Jul 5 03:10:06 uniblab imapd[19165]: [ID 927837 mail.info] connect from uniblab-int Jul 5 03:10:06 uniblab imapd[19165]: [ID 806292 mail.debug] imap service init from 10.0.0.11 Jul 5 03:10:06 uniblab imapd[19165]: [ID 234311 mail.info] Login user=jhsieh host=uniblab-int [10.0.0.11] A failed login (bad password) under 4.0.6 looks like: Jul 5 03:20:01 uniblab imapd[19168]: [ID 927837 mail.info] connect from uniblab-int Jul 5 03:20:01 uniblab imapd[19168]: [ID 806292 mail.debug] imap service init from 10.0.0.11 Jul 5 03:20:04 uniblab imapd[19168]: [ID 985434 mail.info] Command stream end of file, while reading line user=jhsieh host=uniblab-int [10.0.0.11] It seems like somewhere, perhaps we're mangling what the login and password should be because I'm not even getting the userID back from imapd. Or, that because 4.0.6 does not let me specify --with-imap-ssl is saving me from some other code path. While imap is compiled with SSL, I am not using it here (using standard port 143 to connect here). -- Edit bug report at http://bugs.php.net/?id=18174&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18174&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18174&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18174&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18174&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18174&r=support Expected behavior: http://bugs.php.net/fix.php?id=18174&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18174&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18174&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18174&r=globals

« previous php.bugs (#13177) next »