<?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>first time imp authentication error with hordeauth</title> 
  <pubDate>Sat, 04 Apr 2026 07:43:25 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1801</link> 
  <atom:link rel="self" type="application/rss+xml" title="first time imp authentication error with hordeauth" href="https://bugs.horde.org/ticket/1801/rss" /> 
  <description>first time imp authentication error with hordeauth</description> 
 
   
   
  <item> 
   <title>When using hordeauth to authenticate for imp, the first logi</title> 
   <description>When using hordeauth to authenticate for imp, the first login fails.  The user is logged into horde but recieves a login error from IMP.  This appears to be related to the existance of cookies in the client&#039;s browser.  As long as the imp_key cookie is not deleted, subsequent logins work fine.  If the imp_key cookie is removed, the same behaviour as a first time login is experienced.



Interestingly, and possibly related, if one deletes the Horde cookie without deleting the auth_key cookie, the server loops on trying to log in.  If the Horde and auth_key cookies are deleted but the imp_key cookie left alone, things work fine.</description> 
   <pubDate>Fri, 15 Apr 2005 14:43:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7353</link> 
  </item> 
   
  <item> 
   <title>Jan,



Anything I can do to help track down the cause of th</title> 
   <description>Jan,



Anything I can do to help track down the cause of this?  We&#039;re seeing it on a regular basis and I&#039;d like to help get a fix into place.



Thanks,

Kevin</description> 
   <pubDate>Mon, 25 Apr 2005 14:01:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7663</link> 
  </item> 
   
  <item> 
   <title>You could try to track down where/why exactly this is happin</title> 
   <description>You could try to track down where/why exactly this is happing. But be warned, this is hard to debug.</description> 
   <pubDate>Mon, 25 Apr 2005 16:52:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7672</link> 
  </item> 
   
  <item> 
   <title>Here&#039;s some additional information I&#039;ve found with this:



</title> 
   <description>Here&#039;s some additional information I&#039;ve found with this:



For us, its either a first-time or second-time authentication error with IMP.  One install, with IMP setup as the initial application, displays my INBOX the first time, but I get an authentication error when I click on a message to read it.  Another install immediately throws me into a redirect loop.



If I stop the redirect loop, and have a mail summary block in my portal view, I&#039;m able to login successfully in the second looping scenario.



I&#039;ve captured some packets in the first scenario, which seems to be reproducible for the first login attempt, per browser session (i.e. if I quit the browser and restart it, the first attempt to access a message after logging in will fail.  If I just logout and back in, I don&#039;t have the problem).  The username and password that is being passed on the failed login is:  kevin_myer {8}.



We&#039;re using IU13 for $conf[&#039;session&#039;][&#039;name&#039;].



For a failed login, the value of the cookie set for IU13 == the value set for imp_key, and auth_key is different (this seems to be true for all failed logins).  Sometimes for a successful login, IU13 != auth_key != imp_key.  But sometimes, I think auth_key == imp_key too.



imp_key remains the same, even after a logout.



Should the cookie values be getting cleared after a successful logout or only after the browser is closed?



Going to see if I can figure out what different code path the mail summary block takes for authentication, versus a traditional display the INBOX and click on a message authentication...</description> 
   <pubDate>Wed, 04 May 2005 11:56:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7913</link> 
  </item> 
   
  <item> 
   <title>Another interesting thing I found is that if you use php fil</title> 
   <description>Another interesting thing I found is that if you use php file-based sessions, hordeauth with IMP works great.  If you use MySQL based sessions, the login fails the second time you attempt to access anything mail related...</description> 
   <pubDate>Wed, 04 May 2005 17:47:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7916</link> 
  </item> 
   
  <item> 
   <title>Possibly related to bug 1580?</title> 
   <description>Possibly related to bug 1580?</description> 
   <pubDate>Wed, 04 May 2005 18:42:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7918</link> 
  </item> 
   
  <item> 
   <title>I went back and checked to see if we had the error when usin</title> 
   <description>I went back and checked to see if we had the error when using the PHP file preference back end instead of mysql.  Similar to Kevin, everything seems to work fine if we use files instead of mysql.  That&#039;s not really an option for us, though, since we have loadbalanced webservers.</description> 
   <pubDate>Thu, 05 May 2005 00:29:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7922</link> 
  </item> 
   
  <item> 
   <title>Duplicate of 1580, after analysis.</title> 
   <description>Duplicate of 1580, after analysis.</description> 
   <pubDate>Thu, 05 May 2005 18:12:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7963</link> 
  </item> 
   
  <item> 
   <title>Does not fix the underlying issue, but may help:



http://l</title> 
   <description>Does not fix the underlying issue, but may help:



http://lists.horde.org/archives/cvs/Week-of-Mon-20050502/044320.html



Try the two patches (to sidebar.php and base.php) - they make the sidebar use readonly sessions.</description> 
   <pubDate>Sat, 07 May 2005 04:01:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t7994</link> 
  </item> 
   
  <item> 
   <title>For reasons touched on here:

http://lists.horde.org/archive</title> 
   <description>For reasons touched on here:

http://lists.horde.org/archives/dev/Week-of-Mon-20050509/017803.html

The read-only patches Chuck mentions are not a solution to this issue.</description> 
   <pubDate>Mon, 16 May 2005 04:14:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t8209</link> 
  </item> 
   
  <item> 
   <title>We&#039;ve been doing some minimal testing with 3.0.5-RC2, and th</title> 
   <description>We&#039;ve been doing some minimal testing with 3.0.5-RC2, and this issue appears to be fixed now.

</description> 
   <pubDate>Wed, 13 Jul 2005 14:23:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t9724</link> 
  </item> 
   
  <item> 
   <title>I&#039;m running 3.0.5 official release and I am experiencing the</title> 
   <description>I&#039;m running 3.0.5 official release and I am experiencing the initial login problems that this ticket deals with.  Has this issue truly been resolved.



Greg



&gt; We&#039;ve been doing some minimal testing with 3.0.5-RC2, and this issue 

&gt; appears to be fixed now.

&gt;

</description> 
   <pubDate>Mon, 29 Aug 2005 18:55:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t10849</link> 
  </item> 
   
  <item> 
   <title>I am also running 3.0.5 and still having this problem, exact</title> 
   <description>I am also running 3.0.5 and still having this problem, exactly as described below. I can provide an email login if necessary for verification.</description> 
   <pubDate>Fri, 04 Nov 2005 03:50:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t13412</link> 
  </item> 
   
  <item> 
   <title>This issue is not resolved, and I&#039;m still seeing it with the</title> 
   <description>This issue is not resolved, and I&#039;m still seeing it with the latest stable versions of Horde and IMP.



The initial comment describing this issue describes the issue that I&#039;m seeing perfectly.



I&#039;ve been able to trace the problem to line 86 of imp/lib/IMAP.php. The line is:

$this-&gt;_pass = Secret::read(Secret::getKey(&#039;imp&#039;), $_SESSION[&#039;imp&#039;][&#039;pass&#039;]);



During the initial login, $this-&gt;_pass is set to a non-sensical string (and varies).

</description> 
   <pubDate>Mon, 27 Mar 2006 19:14:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1801#t18165</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
