diff options
author | Pavel Reichl <preichl@redhat.com> | 2015-07-02 07:28:05 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-07-06 20:19:02 +0200 |
commit | 32cc237aa0f3c70a4e0bc0491ec0cba0016aaf5a (patch) | |
tree | cdbc783c946be12b72827eccd27b57d454fb36a6 /src/db | |
parent | 01ec08efd0e166ac6f390f8627c6d08dcc63ccc4 (diff) | |
download | sssd-32cc237aa0f3c70a4e0bc0491ec0cba0016aaf5a.tar.gz sssd-32cc237aa0f3c70a4e0bc0491ec0cba0016aaf5a.tar.xz sssd-32cc237aa0f3c70a4e0bc0491ec0cba0016aaf5a.zip |
sysdb: new attribute lastOnlineAuthWithCurrentToken
Introduce new user attribute lastOnlineAuthWithCurrentToken.
This attribute behaves similarly to lastOnlineAuth but is set to NULL
after password is changed.
This attribute is needed for use-case when cached authentication is used, to
request online authentication after password is locally changed.
Resolves:
https://fedorahosted.org/sssd/ticket/1807
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index fbc01851e..48dd26dd2 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -87,6 +87,7 @@ #define SYSDB_LAST_ONLINE_AUTH "lastOnlineAuth" #define SYSDB_LAST_FAILED_LOGIN "lastFailedLogin" #define SYSDB_FAILED_LOGIN_ATTEMPTS "failedLoginAttempts" +#define SYSDB_LAST_ONLINE_AUTH_WITH_CURR_TOKEN "lastOnlineAuthWithCurrentToken" #define SYSDB_LAST_UPDATE "lastUpdate" #define SYSDB_CACHE_EXPIRE "dataExpireTimestamp" |