PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_Sieve » Bug #159

Net_Sieve hangs when sasl doesn't report back plain as a login method

Details

Submitted2003-10-27 12:43 UTC
Fromtarjei at nu dot no
Assigneddamian
StatusClosed
PackageNet_Sieve
PHP Version4.3.1
OSSuSE 8.2
Roadmaps(Not assigned)

Comments

[2003-10-27 12:43 UTC] tarjei at nu dot no

Description:
------------
Hi,

If you try to use Net_Sieve with a Cyrus Sieveserver that doesn't support login, Sieve will hang without any errormessages.

Reproduce code:
---------------
#!/usr/bin/php -f
<?
require_once('Net/Sieve.php');
$host = 'localhost';
// add username here
$username = '';
$password = '';
$port = 2000;
/* this will hang if the server doesn't support plain */
$sieve = new Net_Sieve($username, $password, $host,$port,'PLAIN');

if (PEAR::isError($sieve)) {
}

?>

[2004-01-31 20:15 UTC] damian at php dot net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PEAR better.

The new auth infrastructure sould correct this

[2004-03-01 02:30 UTC] damian at php dot net

Thank you for your bug report. This issue has already been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/packages.php

Version 0.9.1 of Net_Sieve solves this bug