diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-23 09:09:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-24 17:38:34 +0100 |
commit | 078482ad0efc9c4902601080f146853a1a3494fe (patch) | |
tree | 1606da67ff0434b2156edea450081db4c33ec67f /source4/auth/auth.h | |
parent | 577857d351df3d7b40db4d69afb3d67ee4960fb2 (diff) | |
download | samba-078482ad0efc9c4902601080f146853a1a3494fe.tar.gz samba-078482ad0efc9c4902601080f146853a1a3494fe.tar.bz2 samba-078482ad0efc9c4902601080f146853a1a3494fe.zip |
s4:auth: change auth_check_password_send/recv to tevent_req
metze
Diffstat (limited to 'source4/auth/auth.h')
-rw-r--r-- | source4/auth/auth.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h index c625c87f39..28b955a516 100644 --- a/source4/auth/auth.h +++ b/source4/auth/auth.h @@ -275,14 +275,16 @@ NTSTATUS authenticate_username_pw(TALLOC_CTX *mem_ctx, const char *nt4_username, const char *password, struct auth_session_info **session_info); -NTSTATUS auth_check_password_recv(struct auth_check_password_request *req, + +struct tevent_req *auth_check_password_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct auth_context *auth_ctx, + const struct auth_usersupplied_info *user_info); +NTSTATUS auth_check_password_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct auth_serversupplied_info **server_info); -void auth_check_password_send(struct auth_context *auth_ctx, - const struct auth_usersupplied_info *user_info, - void (*callback)(struct auth_check_password_request *req, void *private_data), - void *private_data); + NTSTATUS auth_context_set_challenge(struct auth_context *auth_ctx, const uint8_t chal[8], const char *set_by); NTSTATUS samba_server_gensec_start(TALLOC_CTX *mem_ctx, |