<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>No more support for &quot;pam_auth&quot; extension?</title>
  <pubDate>Sat, 22 Nov 2008 11:15:06 -0500</pubDate>
  <link>http://bugs.horde.org/ticket/6860</link>
  <atom:link rel="self" type="application/rss+xml" title="No more support for &quot;pam_auth&quot; extension?" href="http://bugs.horde.org/ticket/6860/rss" />
  <description>No more support for &quot;pam_auth&quot; extension?</description>

  
  
  <item>
   <title>Hello,

PAM authentification was rewriting to use &quot;pam&quot; in</title>
   <description>Hello,

PAM authentification was rewriting to use &quot;pam&quot; instead of &quot;pam_auth&quot; extension.
It breaks upgrade path (I had only &quot;pam_auth&quot; extension and after upgrading I can't login to Horde...). Is it possible to support &quot;pam&quot; *and* &quot;pam_auth&quot; extensions?

Note: In Debian, we have only &quot;pam_auth&quot; extension for now and anyway, I will break Etch-&gt;Lenny upgrades.

Regards,
--
Gregory Colpart</description>
   <pubDate>Sun, 08 Jun 2008 10:13:57 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46092</link>
  </item>
  <item>
   <title>See this email thread:
http://lists.horde.org/archives/dev/</title>
   <description>See this email thread:
http://lists.horde.org/archives/dev/Week-of-Mon-20080519/023017.html

Note that no one responded to me.</description>
   <pubDate>Sun, 08 Jun 2008 11:56:19 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46096</link>
  </item>
  <item>
   <title>&gt; See this email thread:
&gt; http://lists.horde.org/archives/</title>
   <description>&gt; See this email thread:
&gt; http://lists.horde.org/archives/dev/Week-of-Mon-20080519/023017.html
&gt;
&gt; Note that no one responded to me.

pam_auth and pam extensions are different softwares. pam_auth seems to be unmaintained (URL for pam_auth is now 404) but is always in Debian. I propose
you this patch (I will perhaps use it in Debian package):
http://gcolpart.evolix.net/debian/horde3/pam.php.diff

Regards,
--
Gregory Colpart</description>
   <pubDate>Sun, 08 Jun 2008 12:45:54 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46097</link>
  </item>
  <item>
   <title>&amp;$error in that call will cause a php notice. Otherwise look</title>
   <description>&amp;$error in that call will cause a php notice. Otherwise looks ugly but okay. I'd propose checking for the pam_auth function instead of the extension, and trying to load either extension if it's not already defined.</description>
   <pubDate>Mon, 09 Jun 2008 21:47:39 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46152</link>
  </item>
  <item>
   <title>&gt; &amp;$error in that call will cause a php notice. Otherwise lo</title>
   <description>&gt; &amp;$error in that call will cause a php notice. Otherwise looks ugly 
&gt; but okay. I'd propose checking for the pam_auth function instead of 
&gt; the extension, and trying to load either extension if it's not 
&gt; already defined.

Here is the second proposition of my hack with function_exists():
http://gcolpart.evolix.net/debian/horde3/pam.php.2.diff

For the change &quot;s/$error/&amp;$error/&quot;, the reason is I can't login with &quot;$error&quot; and I have this error message when logging:

Warning: Error variable must be passed by reference in /usr/share/horde3/lib/Horde/Auth/pam.php on line 84

</description>
   <pubDate>Sat, 14 Jun 2008 10:48:34 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46457</link>
  </item>
  <item>
   <title>&gt; For the change &quot;s/$error/&amp;$error/&quot;, the reason is I can't </title>
   <description>&gt; For the change &quot;s/$error/&amp;$error/&quot;, the reason is I can't login with &quot;$error&quot; and I have this error message when logging:
&gt;
&gt; Warning: Error variable must be passed by reference in 
&gt; /usr/share/horde3/lib/Horde/Auth/pam.php on line 84

With what PHP version?</description>
   <pubDate>Sat, 14 Jun 2008 23:30:25 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46489</link>
  </item>
  <item>
   <title>&gt;&gt; For the change &quot;s/$error/&amp;$error/&quot;, the reason is I can't</title>
   <description>&gt;&gt; For the change &quot;s/$error/&amp;$error/&quot;, the reason is I can't login with &quot;$error&quot; and I have this error message when logging:
&gt;&gt;
&gt;&gt; Warning: Error variable must be passed by reference in
&gt;&gt; /usr/share/horde3/lib/Horde/Auth/pam.php on line 84
&gt;
&gt; With what PHP version?

I use PHP 5.2.6 (CGI binary from Debian unstable packages).</description>
   <pubDate>Sun, 15 Jun 2008 04:51:28 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46490</link>
  </item>
  <item>
   <title>Do you have call_time_pass_by_referenced turned on in php.in</title>
   <description>Do you have call_time_pass_by_referenced turned on in php.ini? This feature/syntax has been deprecated and throwing warnings for years and years now.</description>
   <pubDate>Sun, 15 Jun 2008 14:01:03 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46503</link>
  </item>
  <item>
   <title>&gt; Do you have call_time_pass_by_referenced turned on in php.</title>
   <description>&gt; Do you have call_time_pass_by_referenced turned on in php.ini? This 
&gt; feature/syntax has been deprecated and throwing warnings for years 
&gt; and years now.

Yes, I have &quot;allow_call_time_pass_reference = On&quot;. It's the default in Debian PHP packages. For Horde, this option must be turned off? If yes, could you add to docs?

Anyway, I turned it off and PAM auth stays buggy with the same error message.</description>
   <pubDate>Sun, 15 Jun 2008 18:00:10 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46516</link>
  </item>
  <item>
   <title>&gt; Yes, I have &quot;allow_call_time_pass_reference = On&quot;. It's th</title>
   <description>&gt; Yes, I have &quot;allow_call_time_pass_reference = On&quot;. It's the default 
&gt; in Debian PHP packages. For Horde, this option must be turned off? If 
&gt; yes, could you add to docs?

No, but Horde has to work with it off, since its the default and has been the default in PHP for years, and will stop working at some point in the future.

&gt; Anyway, I turned it off and PAM auth stays buggy with the same error message.

Which one?</description>
   <pubDate>Sun, 15 Jun 2008 19:34:59 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46519</link>
  </item>
  <item>
   <title>&gt;&gt; Yes, I have &quot;allow_call_time_pass_reference = On&quot;. It's t</title>
   <description>&gt;&gt; Yes, I have &quot;allow_call_time_pass_reference = On&quot;. It's the default
&gt;&gt; in Debian PHP packages. For Horde, this option must be turned off? If
&gt;&gt; yes, could you add to docs?
&gt;
&gt; No, but Horde has to work with it off, since its the default and has 
&gt; been the default in PHP for years, and will stop working at some 
&gt; point in the future.

The problem is the extension code, which seems to expect the variable to be passed by reference. This is really old, buggy code.</description>
   <pubDate>Mon, 16 Jun 2008 03:11:51 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46540</link>
  </item>
  <item>
   <title>&gt;&gt; Anyway, I turned it off and PAM auth stays buggy with the</title>
   <description>&gt;&gt; Anyway, I turned it off and PAM auth stays buggy with the same error message.
&gt;
&gt; Which one?

I can't login and I see this error message:

Warning: Error variable must be passed by reference in /usr/share/horde3/lib/Horde/Auth/pam.php on line 84

If I change &quot;s/$error/&amp;$error/&quot;, all is right.
</description>
   <pubDate>Mon, 16 Jun 2008 03:13:31 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46541</link>
  </item>
  <item>
   <title>&gt; If I change &quot;s/$error/&amp;$error/&quot;, all is right.

No, see </title>
   <description>&gt; If I change &quot;s/$error/&amp;$error/&quot;, all is right.

No, see Jan's comment.</description>
   <pubDate>Mon, 16 Jun 2008 10:38:54 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46561</link>
  </item>
  <item>
   <title>Actually yes. This old extension code probably *requires* to</title>
   <description>Actually yes. This old extension code probably *requires* to pass the argument by reference.</description>
   <pubDate>Mon, 16 Jun 2008 11:07:09 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46567</link>
  </item>
  <item>
   <title>I guess.</title>
   <description>I guess.</description>
   <pubDate>Mon, 16 Jun 2008 11:07:19 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t46568</link>
  </item>
  <item>
   <title>Since pam_auth is pretty much _only_ now available in debian</title>
   <description>Since pam_auth is pretty much _only_ now available in debian, is there a real reason to have this in the main Horde dist as opposed to in the debian packages?</description>
   <pubDate>Wed, 02 Jul 2008 17:26:15 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t47127</link>
  </item>
  <item>
   <title>Let's remove it for Horde 4.</title>
   <description>Let's remove it for Horde 4.</description>
   <pubDate>Wed, 02 Jul 2008 18:16:05 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t47131</link>
  </item>
  <item>
   <title>Changes have been made in CVS for this ticket:

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

http://cvs.horde.org/diff.php/framework/Auth/Auth/pam.php?r1=1.21&amp;r2=1.22&amp;ty=u</description>
   <pubDate>Sun, 13 Jul 2008 08:48:56 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6860#t47495</link>
  </item>
  

 </channel>
</rss>
