[gnome-control-center/T20818: 2/54] Handle password with ldap
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/T20818: 2/54] Handle password with ldap
- Date: Tue, 23 Jan 2018 21:30:12 +0000 (UTC)
commit c423eb48305765617fe7b0da31b80d381e47652d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Sep 1 17:21:19 2017 -0300
Handle password with ldap
panels/user-accounts/run-passwd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]