GNOME Bugzilla – Bug 786530
cannot cope with incorrect current password under LDAP backend
Last modified: 2019-06-05 11:17:25 UTC
Created attachment 358001 [details] [review] handle_passwd_with_ldap.patch Hi, In debian/ubuntu we have the attached patch for quite sometimes Original bug report can be found at: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/607357 === When changing a UNIX password, if you enter an incorrect current password passwd will print an error and exit. However when using LDAP, unless the password has length 0 passwd offers another chance. Enter login(LDAP) password: LDAP Password incorrect: try again Enter login(LDAP) password: gnome-about-me mistakes the second prompt for the prompt to enter a new password and assumes the initial password was correct. Proceeding through the dialog eventually results in gnome-about-me hanging since passwd exits either at an unexpected time or not at all. The interaction completes as expected when the correct initial password is given. === I guess this patch could be merged upstream?
Review of attachment 358001 [details] [review]: Thanks. I do not have an environment to test, but it should not break anything, so let's go with it.
Let's close this in favor of https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/483.