diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-04-27 18:21:25 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-04-27 18:21:25 -0400 |
commit | c4f46b40e2f55abd9ae2296fd68daa88bd60e32f (patch) | |
tree | a6bd391cb5354a69aa99808959bce7870215914a /server/db | |
parent | 0dcef2cbb6e53999b9fe053d49e09bb27c6f4f15 (diff) | |
download | sssd-c4f46b40e2f55abd9ae2296fd68daa88bd60e32f.tar.gz sssd-c4f46b40e2f55abd9ae2296fd68daa88bd60e32f.tar.bz2 sssd-c4f46b40e2f55abd9ae2296fd68daa88bd60e32f.zip |
Use different attribute for cached passwords
This fixes a bug with legacy backends where the cached password would be cleared
on a user update.
Using a different attribute we make sure a userPassword coming from the remote
backend does not interfere with a cachedPassword (and vice versa).
Diffstat (limited to 'server/db')
-rw-r--r-- | server/db/sysdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h index df49bc7b..7bfe1fd7 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -63,6 +63,8 @@ #define SYSDB_LAST_UPDATE "lastUpdate" +#define SYSDB_CACHEDPWD "cachedPassword" + #define SYSDB_NEXTID_FILTER "("SYSDB_NEXTID"=*)" #define SYSDB_UC "objectclass="SYSDB_USER_CLASS |