From f260b540dbc9a50194aa82ede873579cd73e8d1c Mon Sep 17 00:00:00 2001 From: Debian GNOME Maintainers Date: Tue, 30 May 2017 21:29:04 +0100 Subject: [PATCH] _handle_passwd_with_ldap Gbp-Pq: Name 06_handle_passwd_with_ldap.patch --- panels/user-accounts/run-passwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2