You are here: Foswiki>Tasks Web>Item12347 (01 Feb 2013, GeorgeClark)Edit Attach

Item12347: BaseUserMapping.pm uses undeclared Crypt::PasswdMD5::apache_md5_crypt

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.7
Target Release: patch
Applies To: Engine
Component: FoswikiUsers
Branches: Release01x01 trunk
Reported By: OleVoip
Waiting For:
Last Change By: GeorgeClark
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
 

ItemTemplate edit

Summary BaseUserMapping.pm uses undeclared Crypt::PasswdMD5::apache_md5_crypt
ReportedBy OleVoip
Codebase 1.1.6
SVN Range
AppliesTo Engine
Component FoswikiUsers
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:159b5e36152f distro:c04b3241db65
TargetRelease patch
ReleasedIn 1.1.7
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:c04b3241db65
Release01x01Checkins distro:159b5e36152f
Topic revision: r8 - 01 Feb 2013, GeorgeClark - This page was cached on 25 Jun 2016 - 16:04.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License