summaryrefslogtreecommitdiff
path: root/server/responder
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-04-28 10:20:55 +0200
committerSimo Sorce <ssorce@redhat.com>2009-04-28 11:57:01 -0400
commit22396d0ce1d761cd214b1f0f278459b1b9f19241 (patch)
treef556f62f2feb3d502ce70c33ccd01903f3e814e5 /server/responder
parentc051ec69a66f3d5c6ae611262ed639c31f93e88e (diff)
downloadsssd-22396d0ce1d761cd214b1f0f278459b1b9f19241.tar.gz
sssd-22396d0ce1d761cd214b1f0f278459b1b9f19241.tar.bz2
sssd-22396d0ce1d761cd214b1f0f278459b1b9f19241.zip
Use different attribute for cached passwords change time
Diffstat (limited to 'server/responder')
-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",