Item12347: BaseUserMapping.pm uses undeclared Crypt::PasswdMD5::apache_md5_crypt
Priority: Urgent
Current State: Closed
Released In: 1.1.7
Target Release: patch
Applies To: Engine
Component: FoswikiUsers
Branches: Release01x01 trunk
When doing an internal admin login, I get the password form partly filled with "admin" and type in the password set using bin/configure. On submission I get an error,
Undefined subroutine &Crypt::PasswdMD5::apache_md5_crypt called at C:\Foswiki\lib/Foswiki/Users/BaseUserMapping.pm line 452.
at C:\Foswiki\lib/Foswiki/Users/BaseUserMapping.pm line 452
I suggest to add to the beginning of
BaseUserMapping.pm the following line,
use Crypt::PasswdMD5 qw(apache_md5_crypt);
For Digest::MD5 there already is a corresponding line, but for Crypt::PasswdMD5 it's missing.
--
OleVoip - 15 Jan 2013
I've seen in trac that 1.2 will handle this differently, but it needs to be fixed for 1.1.7.
--
OleVoip - 15 Jan 2013
Thanks. Will be fixed in 1.1.7. Also it was missing from the DEPENDENCIES file.
--
GeorgeClark - 15 Jan 2013
Hm... This seems to apply to trunk as well.
--
GeorgeClark - 16 Jan 2013