summaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-07-02 07:28:05 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-07-06 20:19:02 +0200
commit32cc237aa0f3c70a4e0bc0491ec0cba0016aaf5a (patch)
treecdbc783c946be12b72827eccd27b57d454fb36a6 /src/db
parent01ec08efd0e166ac6f390f8627c6d08dcc63ccc4 (diff)
downloadsssd-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.h1
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"