Public bug reported:

Binary package hint: gnome-control-center

I also reported this bug in gnome.org.
https://bugzilla.gnome.org/show_bug.cgi?id=637866


OS: Ubuntu 10.4
Steps:
   1. enter the current password in the Entry, and make it authenticated.
   2. enter "New password" and "Retype new password" with same words but short
length.

Usually, if the passwd is using the system built-in pam module (pam_unix.so),
the returned failure message will contain the "short" keyword, so it is ok to
show error in GUI. But if user configure the passwd to use other third-party
pam module and the returned failure message did not contain all the hard-coded
pattern in the first 64 bytes, the GUI will hang until to click "Close" button.

Proposal:
     At least, if all patterns are missed, just show the original failure
message from passwd to GUI.

In static gboolean
io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswordDialog
*pdialog)
...
    } else if (g_strrstr (str->str, "failure") != NULL) {
        /* Authentication failure */
        msg = g_strdup (_("Your password has been changed since you initially
authenticated! Please re-authenticate."));

----> Here show the original message is perfered. Thanks!


        passdlg_set_auth_state (pdialog, FALSE);
    }
}

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-control-center 1:2.30.0-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Fri Dec 24 14:00:38 2010
ExecutablePath: /usr/bin/gnome-about-me
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in ubuntu.
https://bugs.launchpad.net/bugs/694030

Title:
  change-password GUI is hanging-on

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to