diff options
author | Stefan Metzmacher <metze@samba.org> | 2017-03-17 11:16:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-03-24 11:57:09 +0100 |
commit | 4af89d534d17744c54ea2408190a25c27cec18ea (patch) | |
tree | fca14fedf08c07cf607f2ed51f9c2a2c4c7b2499 /source4/auth/auth.h | |
parent | 65d5f845ed61641f42be614bb78391cba87e762a (diff) | |
download | samba-4af89d534d17744c54ea2408190a25c27cec18ea.tar.gz |
auth4: let auth_check_password* return pauthoritative
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/auth/auth.h')
-rw-r--r-- | source4/auth/auth.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h index 95aacfe8eef..7358f40b70d 100644 --- a/source4/auth/auth.h +++ b/source4/auth/auth.h @@ -153,7 +153,8 @@ NTSTATUS auth_context_create_for_netlogon(TALLOC_CTX *mem_ctx, NTSTATUS auth_check_password(struct auth4_context *auth_ctx, TALLOC_CTX *mem_ctx, const struct auth_usersupplied_info *user_info, - struct auth_user_info_dc **user_info_dc); + struct auth_user_info_dc **user_info_dc, + uint8_t *pauthoritative); NTSTATUS auth4_init(void); NTSTATUS auth_register(const struct auth_operations *ops); NTSTATUS server_service_auth_init(void); @@ -173,7 +174,8 @@ struct tevent_req *auth_check_password_send(TALLOC_CTX *mem_ctx, const struct auth_usersupplied_info *user_info); NTSTATUS auth_check_password_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, - struct auth_user_info_dc **user_info_dc); + struct auth_user_info_dc **user_info_dc, + uint8_t *pauthoritative); bool auth_challenge_may_be_modified(struct auth4_context *auth_ctx); NTSTATUS auth_context_set_challenge(struct auth4_context *auth_ctx, const uint8_t chal[8], const char *set_by); |