I have another one-line fix in egroupware that I want to propose for
sarge:

egroupware (1.0.0.007-2.dfsg-3) unstable; urgency=medium

  * Fixed PAM authentication (closes: #306729)

 -- Peter Eisentraut <[EMAIL PROTECTED]>  Tue, 24 May 2005 11:11:11 +0200

The actual fix is merely:

--- egroupware-1.0.0.007-2.dfsg/phpgwapi/inc/class.auth_pam.inc.php    
2005-04-15 16:48:05.000000000 +0200
+++ 
/tmp/dpep.Nnmy9U/egroupware-1.0.0.007-2.dfsg/phpgwapi/inc/class.auth_pam.inc.php
   2005-05-24 14:30:01.800435724 +0200
@@ -24,7 +24,7 @@
       {
               function authenticate($username, $passwd)
               {
-                      if (pam_auth($username, get_magic_quotes_gpc() ? 
stripslashes($passwd) : $passwd, $error))
+                      if (pam_auth($username, get_magic_quotes_gpc() ? 
stripslashes($passwd) : $passwd, &$error))
                       {
                               return True;
                       }

This moves the PAM authentication from "not working" to "working".
This change was also made upstream.

It's not an "important" bug, but I can upgrade it if it would make you
feel better. :)  Thank you for your time.

Attachment: pgpZ5nZMmixsq.pgp
Description: PGP signature

Reply via email to