6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9275] crypt-md5 password with show_encryption doesn't work
*
Your Email Address
*
Spam protection
Enter the letters below:
.. ..__..___. __. || || | _/ (__ \__||__||__\./__..__)
Comment
> Here is a fix that works: > > diff -urb passwd.old/lib/Driver.php passwd/lib/Driver.php > --- passwd.old/lib/Driver.php 2010-09-30 00:00:35.000000000 +0200 > +++ passwd/lib/Driver.php 2010-09-29 23:39:17.000000000 +0200 > @@ -3,7 +3,7 @@ > * Passwd_Driver:: defines an API for implementing password change > systems for > * Passwd. > * > - * $Horde: passwd/lib/Driver.php,v 1.44.2.9 2008/10/24 16:48:50 jan Exp $ > + * $Horde: passwd/lib/Driver.php,v 1.44.2.10 2009-01-06 15:25:15 jan Exp $ > * > * Copyright 2000-2009 The Horde Project (http://www.horde.org/) > * > @@ -54,6 +54,9 @@ > if ($this->_params['driver'] == 'ldap' && $encryption == > 'md5') { > $encryption = 'md5-base64'; > } > + if ($encryption == 'crypt' && substr($encrypted, 0, 3) == > '$1$') { > + $encryption = 'crypt-md5'; > + } > } else { > $encryption = $this->_params['encryption']; > } >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers