PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_Cyrus » Bug #5778

renameUser: The user "user/....." doesn't exist

Details

Submitted2005-10-25 13:32 UTC
Fromrocco at rcelsi dot it
Assignedamistry
StatusClosed
PackageNet_Cyrus
PHP Version4.4.0
OSWindows XP
Roadmaps(Not assigned)

Comments

[2005-10-25 13:32 UTC] rocco at rcelsi dot it

Description:
------------
Hi,
when I use renameUser this procedure returns "The user .... doen't exist".
I solved this problem so:

function renameUser($oldUser, $newUser)
{
$oldUsername = $this->getUserName($oldUser, false);
$newUsername = $this->getUserName($newUser, false);

$oldUser =$this->getUserName($oldUser);
$newUser =$this->getUserName($newUser);

same
}

Bye
Rocco

[2006-03-22 04:05 UTC] amistry at php dot net

I've fixed this in the CVS.