<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Password = 0 does not work</title> 
  <pubDate>Fri, 10 Apr 2026 17:02:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6836</link> 
  <atom:link rel="self" type="application/rss+xml" title="Password = 0 does not work" href="https://bugs.horde.org/ticket/6836/rss" /> 
  <description>Password = 0 does not work</description> 
 
   
   
  <item> 
   <title>When you have an imap configured imp (did not try with pop),</title> 
   <description>When you have an imap configured imp (did not try with pop), and a user with a password of &quot;0&quot; (zero), it can never log in. Tested on horde 3.1.7, imp 4.1.6. Testing with imp/test.php shows the very same thing, so I suspect the bug is somewhere in the imp/lib/IMAP part.</description> 
   <pubDate>Wed, 04 Jun 2008 18:42:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45925</link> 
  </item> 
   
  <item> 
   <title>Uh, forgot to specify it works just fine when using a telnet</title> 
   <description>Uh, forgot to specify it works just fine when using a telnet session.

Cyrus IMAP4 v2.3.9 under.</description> 
   <pubDate>Wed, 04 Jun 2008 18:48:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45926</link> 
  </item> 
   
  <item> 
   <title>Beside that this is really a silly password, where/how exact</title> 
   <description>Beside that this is really a silly password, where/how exactly does it fail?</description> 
   <pubDate>Wed, 04 Jun 2008 21:36:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45934</link> 
  </item> 
   
  <item> 
   <title>Agreed with the silly password part :) Anyway, customers...
</title> 
   <description>Agreed with the silly password part :) Anyway, customers...



Well, horde installed in horde/ , imp in horde/imp, horde/imp/test.php with any login and password = 0 show the bug -- and horde login with imp as the login backend show it too, imp being configured for imap login with the imap server above.</description> 
   <pubDate>Wed, 04 Jun 2008 21:58:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45938</link> 
  </item> 
   
  <item> 
   <title>You still didn&#039;t say what exactly happens if you use this pa</title> 
   <description>You still didn&#039;t say what exactly happens if you use this password.</description> 
   <pubDate>Wed, 04 Jun 2008 22:12:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45939</link> 
  </item> 
   
  <item> 
   <title>Sorry. It just get back to the login page, again and again. </title> 
   <description>Sorry. It just get back to the login page, again and again. test.php gives the fields where to put server/port/login/etc again, after pushing the button.</description> 
   <pubDate>Wed, 04 Jun 2008 22:35:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45942</link> 
  </item> 
   
  <item> 
   <title>Do you get an error message, a PHP error, a log entry, etc?</title> 
   <description>Do you get an error message, a PHP error, a log entry, etc?</description> 
   <pubDate>Wed, 04 Jun 2008 22:50:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45943</link> 
  </item> 
   
  <item> 
   <title>Nothing at all in phplog (with E_ALL), no connection attempt</title> 
   <description>Nothing at all in phplog (with E_ALL), no connection attemptto the imap server. Same thing on another system, will try a third tomorrow. No idea how to debug the thing ...

echo &quot;var:&quot; . $_POST[&#039;server&#039;] . $_POST[&#039;port&#039;] . $_POST[&#039;user&#039;] . $_POST[&#039;passwd&#039;] . $_POST[&#039;server_type&#039;] . &quot;\n&quot;;



on line 151 of imp/test.php shows the right stuff;



echo &quot;foobar\n&quot;;

on line 153 (after the tests line:

if (!empty($server) &amp;&amp; !empty($user) &amp;&amp; !empty($passwd) &amp;&amp; !empty($type)) {

)

doesn&#039;t appear, and it prints again the server/port/login form.



I think empty($passwd) with passwd=0 just break the thing.



Easiest way to test is probably setting up a test account with a password of 0.</description> 
   <pubDate>Wed, 04 Jun 2008 23:04:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45944</link> 
  </item> 
   
  <item> 
   <title>&gt; I think empty($passwd) with passwd=0 just break the thing.</title> 
   <description>&gt; I think empty($passwd) with passwd=0 just break the thing.



That would be correct.  That should be changed to strlen($passwd).</description> 
   <pubDate>Wed, 04 Jun 2008 23:06:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45945</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

  http://cvs</title> 
   <description>Changes have been made in CVS for this ticket:

  http://cvs.horde.org/diff.php/imp/lib/Session.php?r1=1.165&amp;r2=1.166&amp;ty=u
  http://cvs.horde.org/diff.php/imp/test.php?r1=1.67&amp;r2=1.68&amp;ty=u</description> 
   <pubDate>Thu, 05 Jun 2008 05:13:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45963</link> 
  </item> 
   
  <item> 
   <title>Fixed in IMP 4.2.1.</title> 
   <description>Fixed in IMP 4.2.1.</description> 
   <pubDate>Thu, 05 Jun 2008 05:16:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6836#t45964</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
