diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-22 11:38:27 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-09 11:58:37 +0200 |
commit | cf2e3bf01fd3f9f38208da25304366329211d602 (patch) | |
tree | 11b997c04c64da2c1dde9dd5f558db7a0cf9a89f /src/providers/ldap/sdap_async_connection.c | |
parent | 176c5beb7b4f9601658f1cc0b1637137b3c7e304 (diff) | |
download | sssd-cf2e3bf01fd3f9f38208da25304366329211d602.tar.gz sssd-cf2e3bf01fd3f9f38208da25304366329211d602.tar.xz sssd-cf2e3bf01fd3f9f38208da25304366329211d602.zip |
Display the last grace warning, toosssd-1.9.2-107.el6
Due to a comparison error, the last warning when an LDAP password was in
its grace period was never displayed.
https://fedorahosted.org/sssd/ticket/1890
Diffstat (limited to 'src/providers/ldap/sdap_async_connection.c')
-rw-r--r-- | src/providers/ldap/sdap_async_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c index ff9924843..44536c730 100644 --- a/src/providers/ldap/sdap_async_connection.c +++ b/src/providers/ldap/sdap_async_connection.c @@ -608,7 +608,7 @@ static void simple_bind_done(struct sdap_op *op, ("Password was reset. " "User must set a new password.\n")); state->result = LDAP_X_SSSD_PASSWORD_EXPIRED; - } else if (pp_grace > 0) { + } else if (pp_grace >= 0) { DEBUG(SSSDBG_TRACE_LIBS, ("Password expired. " "[%d] grace logins remaining.\n", |