From: Debian GNOME Maintainers Date: Fri, 13 Oct 2017 21:16:32 +0000 (+0100) Subject: _handle_passwd_with_ldap X-Git-Tag: archive/raspbian/1%3.26.1-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3a8469faf9e08789a364d652de23b6723b8d0c05;p=gnome-control-center.git _handle_passwd_with_ldap Gbp-Pq: Name 06_handle_passwd_with_ldap.patch --- diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c index 00239ce..0fd06d9 100644 --- a/panels/user-accounts/run-passwd.c +++ b/panels/user-accounts/run-passwd.c @@ -404,7 +404,7 @@ io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswdHandler *pass if (is_string_complete (str->str, "assword: ", "failure", "wrong", "error", NULL)) { - if (strstr (str->str, "assword: ") != NULL) { + if (strstr (str->str, "assword: ") != NULL && strstr (str->str, "incorrect") == NULL) { /* Authentication successful */ passwd_handler->backend_state = PASSWD_STATE_NEW;