Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.7

Bug #5532 File_Passwd_Authdigest::changePasswd deletes all other realms for the user
Submitted: 2005-09-27 05:22 UTC
From: chrishealy at internode dot on dot net Assigned: mike
Status: Closed Package: File_Passwd
PHP Version: 5.0.2 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2005-09-27 05:22 UTC] chrishealy at internode dot on dot net
Description: ------------ The Pear class File_Passwd_Authdigest::changePasswd ( release 1.1.5 ) deletes all the realms for the user other than the realm for which the password is being changed. In Authdigest.php function changePasswd($user, $realm, $pass) uses delUser where it should be using delUserInRealm This change resolves the problem. function changePasswd($user, $realm, $pass) { if (PEAR::isError($error = $this->delUserInRealm($user, $realm))) { return $error; } else { return $this->addUser($user, $realm, $pass); } }

Comments

 [2005-09-27 06:30 UTC] mike
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/File_Passwd