summaryrefslogtreecommitdiff
path: root/server/responder/pam/pamsrv_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/responder/pam/pamsrv_cache.c')
-rw-r--r--server/responder/pam/pamsrv_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/responder/pam/pamsrv_cache.c b/server/responder/pam/pamsrv_cache.c
index 154c7d1b..f98be79b 100644
--- a/server/responder/pam/pamsrv_cache.c
+++ b/server/responder/pam/pamsrv_cache.c
@@ -153,7 +153,7 @@ int pam_cache_credentials(struct pam_auth_req *preq)
if (ret) goto done;
/* FIXME: should we use a different attribute for chache passwords ?? */
- ret = sysdb_attrs_add_long(ctx->attrs, "lastPasswordChange",
+ ret = sysdb_attrs_add_long(ctx->attrs, "lastCachedPasswordChange",
(long)time(NULL));
if (ret) goto done;
@@ -256,7 +256,7 @@ int pam_cache_auth(struct pam_auth_req *preq)
SYSDB_CACHEDPWD,
SYSDB_DISABLED,
SYSDB_LAST_LOGIN,
- "lastPasswordChange",
+ "lastCachedPasswordChange",
"accountExpires",
"failedLoginAttempts",
"lastFailedLogin",