diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-03-01 23:41:26 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-12 09:22:13 -0400 |
commit | bb0b6b4e39242577f60729fbcbd9e46e7a7af30d (patch) | |
tree | 487a6658ff978c56022e7ea5e924d93335e70013 /src/db/sysdb.h | |
parent | 02a9d8a40dc3a5fd671ede0e4fa7dac5178fbc75 (diff) | |
download | sssd-bb0b6b4e39242577f60729fbcbd9e46e7a7af30d.tar.gz sssd-bb0b6b4e39242577f60729fbcbd9e46e7a7af30d.tar.bz2 sssd-bb0b6b4e39242577f60729fbcbd9e46e7a7af30d.zip |
sysdb: convert sysdb_cache_password
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 29dac35d..baa98904 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -495,15 +495,11 @@ int sysdb_remove_group_member(TALLOC_CTX *mem_ctx, * If you are not in a transaction pass NULL in handle and provide sysdb, * in this case a transaction will be automatically started and the * function will be completely wrapped in it's own sysdb transaction */ -struct tevent_req *sysdb_cache_password_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct sysdb_ctx *sysdb, - struct sysdb_handle *handle, - struct sss_domain_info *domain, - const char *username, - const char *password); -int sysdb_cache_password_recv(struct tevent_req *req); - +int sysdb_cache_password(TALLOC_CTX *mem_ctx, + struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, + const char *username, + const char *password); errno_t check_failed_login_attempts(TALLOC_CTX *mem_ctx, struct confdb_ctx *cdb, struct ldb_message *ldb_msg, |