From 4cdee9b0eddd47ad2cfb866f63cdeb3f65200a3e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 31 Aug 2010 15:08:31 -0400 Subject: s3-dcerpc: add spnego server helpers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner --- source3/include/proto.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 3349e028fb..849a062230 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2557,6 +2557,16 @@ bool spnego_parse_auth_response(TALLOC_CTX *ctx, const char *mechOID, DATA_BLOB *auth); +bool spnego_parse_auth_and_mic(TALLOC_CTX *ctx, DATA_BLOB blob, + DATA_BLOB *auth, DATA_BLOB *signature); +DATA_BLOB spnego_gen_auth_response_and_mic(TALLOC_CTX *ctx, + NTSTATUS nt_status, + const char *mechOID, + DATA_BLOB *reply, + DATA_BLOB *mechlistMIC); +bool spnego_mech_list_blob(TALLOC_CTX *mem_ctx, + char **oid_list, DATA_BLOB *data); + /* The following definitions come from libsmb/clistr.c */ size_t clistr_push_fn(const char *function, -- cgit