diff options
author | Sumit Bose <sbose@redhat.com> | 2009-04-28 10:20:55 +0200 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-04-28 11:57:01 -0400 |
commit | 22396d0ce1d761cd214b1f0f278459b1b9f19241 (patch) | |
tree | f556f62f2feb3d502ce70c33ccd01903f3e814e5 /server | |
parent | c051ec69a66f3d5c6ae611262ed639c31f93e88e (diff) | |
download | sssd-22396d0ce1d761cd214b1f0f278459b1b9f19241.tar.gz sssd-22396d0ce1d761cd214b1f0f278459b1b9f19241.tar.xz sssd-22396d0ce1d761cd214b1f0f278459b1b9f19241.zip |
Use different attribute for cached passwords change time
Diffstat (limited to 'server')
-rw-r--r-- | server/responder/pam/pamsrv_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/responder/pam/pamsrv_cache.c b/server/responder/pam/pamsrv_cache.c index 154c7d1b4..f98be79bd 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", |