diff options
author | Simo Sorce <simo@redhat.com> | 2012-10-18 12:49:38 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-01-10 12:24:59 -0500 |
commit | c83e409297711e6012a164cc929c758a3f38e9b9 (patch) | |
tree | 42930e80d13d5bbe26e12891499677db0e26c8e6 /src/db/sysdb.h | |
parent | 4c2cf6607ddc82c5061d805c11e163de4bc1bd82 (diff) | |
download | sssd-c83e409297711e6012a164cc929c758a3f38e9b9.tar.gz sssd-c83e409297711e6012a164cc929c758a3f38e9b9.tar.xz sssd-c83e409297711e6012a164cc929c758a3f38e9b9.zip |
Code can only check for cached passwords
Make it clear to the API users that we can not take arbitrary auth tokens.
We can only take a password for now so simplify and clarify the interface.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index b8aafdfa0..378ce4889 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -740,8 +740,7 @@ errno_t check_failed_login_attempts(struct confdb_ctx *cdb, time_t *delayed_until); int sysdb_cache_auth(struct sysdb_ctx *sysdb, const char *name, - const uint8_t *authtok, - size_t authtok_size, + const char *password, struct confdb_ctx *cdb, bool just_check, time_t *_expire_date, |