Signed-off-by: Stefan Metzmacher <metze@samba.org>
NTSTATUS dcerpc_pipe_open_smb2(struct dcerpc_pipe *p,
struct smb2_tree *tree,
const char *pipe_name);
-NTSTATUS dcerpc_bind_auth_none(struct dcerpc_pipe *p,
- const struct ndr_interface_table *table);
NTSTATUS dcerpc_fetch_session_key(struct dcerpc_pipe *p,
DATA_BLOB *session_key);
struct composite_context;
}
-/*
- Perform sync non-authenticated dcerpc bind
-*/
-_PUBLIC_ NTSTATUS dcerpc_bind_auth_none(struct dcerpc_pipe *p,
- const struct ndr_interface_table *table)
-{
- struct composite_context *ctx;
-
- ctx = dcerpc_bind_auth_none_send(p, p, table);
- return dcerpc_bind_auth_none_recv(ctx);
-}
-
-
struct bind_auth_state {
struct dcerpc_pipe *pipe;
struct ndr_syntax_id syntax;