6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/13/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12317] resetpassword doesn't reset password
*
Your Email Address
*
Spam protection
Enter the letters below:
.___._. __ .__ . . [__ | / `[__)|__| [____|_\__.| \| |
Comment
> Although resetpassword.php mails "Your password has been reset" the > password is actually not changed. The reason is as follows: > > \services\resetpassword.php calls > $password = $auth->resetPassword($info['username']); > there is no exception and success mail is sent, but... > > \Horde\Auth\Ldap.php makes an argument for LDAP modify as: > > $entry = array( > 'userpassword' => > Horde_Auth::getCryptedPassword($password,........ > > and passes it to LDAP modify: > > $this->_ldap->modify($dn, $entry); > > there is no exception once more because: > > \Horde\Ldap.php modify() > > tell us: The $params argument is an array of actions and should be > something like > * this: > > Obviously the passed parameter is not an array of actions - see debug file: > > public function modify($entry, $parms = array()) > { > Horde::debug($parms, "/tmp/horde_debug_parms"); > > horde-5 tmp # cat horde_debug_parms > 2013-06-07T06:32:59+00:00 DEBUG: Variable information: > array(1) { > 'userpassword' => > string(38) "{SSHA}Jk4...6hAkuNdkD5Na5s...O632e4oLN" > } > > Backtrace: > 1. Horde_Core_Auth_Application->resetPassword() > /data/var/www/webmail/services/resetpassword.php:74 > 2. Horde_Auth_Ldap->resetPassword() > /usr/share/php/Horde/Core/Auth/Application.php:389 > 3. Horde_Ldap->modify() /usr/share/php/Horde/Auth/Ldap.php:432 > 4. Horde::debug() /usr/share/php/Horde/Ldap.php:684 > > horde-5 tmp # > > > >
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