[Tickets #6860] Re: No more support for "pam_auth" extension?

bugs at horde.org bugs at horde.org
Sat Jun 14 14:48:36 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6860
-----------------------------------------------------------------------
  Ticket             | 6860
  Updated By         | reg at evolix.fr
  Summary            | No more support for "pam_auth" extension?
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Enhancement
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
-----------------------------------------------------------------------


reg at evolix.fr (2008-06-14 10:48) wrote:

> &$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.

Here is the second proposition of my hack with function_exists():
http://gcolpart.evolix.net/debian/horde3/pam.php.2.diff

For the change "s/$error/&$error/", the reason is I can't login with  
"$error" 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







More information about the bugs mailing list