diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-03-10 08:28:48 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-12 09:22:14 -0400 |
commit | c38706faa07a380c542cd1bda3ee54edfaf275d4 (patch) | |
tree | f9c37b649190f7c8ec2a712cce9119cc805d67ae /src/db/sysdb.h | |
parent | 8a6449480e4be898248c1d35bbf5c24d91503e4e (diff) | |
download | sssd-c38706faa07a380c542cd1bda3ee54edfaf275d4.tar.gz sssd-c38706faa07a380c542cd1bda3ee54edfaf275d4.tar.bz2 sssd-c38706faa07a380c542cd1bda3ee54edfaf275d4.zip |
sysdb: convert sysdb_cache_auth
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index b39d26c9..6d8e4770 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -501,20 +501,20 @@ int sysdb_cache_password(TALLOC_CTX *mem_ctx, const char *username, const char *password); -errno_t check_failed_login_attempts(TALLOC_CTX *mem_ctx, struct confdb_ctx *cdb, +errno_t check_failed_login_attempts(TALLOC_CTX *mem_ctx, + struct confdb_ctx *cdb, struct ldb_message *ldb_msg, uint32_t *failed_login_attempts, time_t *delayed_until); -struct tevent_req *sysdb_cache_auth_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct sysdb_ctx *sysdb, - struct sss_domain_info *domain, - const char *name, - const uint8_t *authtok, - size_t authtok_size, - struct confdb_ctx *cdb); -int sysdb_cache_auth_recv(struct tevent_req *req, time_t *expire_date, - time_t *delayed_until); +int sysdb_cache_auth(TALLOC_CTX *mem_ctx, + struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, + const char *name, + const uint8_t *authtok, + size_t authtok_size, + struct confdb_ctx *cdb, + time_t *_expire_date, + time_t *_delayed_until); int sysdb_store_custom(TALLOC_CTX *mem_ctx, struct sysdb_ctx *ctx, |