Bug#447320: boinc-manager: Failed to create a new account with "missing or bad parameter: user_name" on certain condition.

Morita Sho morita-pub-en-debian at inz.sakura.ne.jp
Sat Oct 20 12:40:15 UTC 2007


Hi,

Thanks for your quick response.

Frank S. Thomas wrote:
 > Since one can change the user name later on the project's web site and it is
 > not required for login (only email and password are) I'd vote for your second
 > proposed fix. I propose to use the login name (first field in /etc/passwd)
 > for user_name if wxGetUserName() returns an empty string. Here is the patch
 > I'm going to forward to the BOINC developers:
 >
 >                  ai->user_name = (const char*)::wxGetUserName().mb_str();
 > +                if (ai->user_name.empty()) {
 > +                    ai->user_name = (const char*)::wxGetUserId().mb_str();
 > +                }

I agree with you.
I have tested your patch and confirmed that boinc-manager sent login name for
the user_name parameter if wxGetUserName() returns empty strings.
So creating a new account have successfully completed.


Regards,

-- 
Morita Sho





More information about the pkg-boinc-devel mailing list