diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 3 | ||||
-rw-r--r-- | source3/include/proto.h | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 065138152b..98f2df9445 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -111,7 +111,8 @@ struct pipe_auth_data { union { struct schannel_state *schannel_auth; struct auth_ntlmssp_state *auth_ntlmssp_state; - struct gse_context *gssapi_state; /* Client only for now */ + struct gse_context *gssapi_state; + struct spnego_context *spnego_state; } a_u; /* Only the client code uses these 3 for now */ diff --git a/source3/include/proto.h b/source3/include/proto.h index 1af36dd3e7..bf7a41e13e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4848,6 +4848,14 @@ NTSTATUS cli_rpc_pipe_open_krb5(struct cli_state *cli, const char *username, const char *password, struct rpc_pipe_client **presult); +NTSTATUS cli_rpc_pipe_open_spnego_krb5(struct cli_state *cli, + const struct ndr_syntax_id *interface, + enum dcerpc_transport_t transport, + enum dcerpc_AuthLevel auth_level, + const char *server, + const char *username, + const char *password, + struct rpc_pipe_client **presult); NTSTATUS cli_get_session_key(TALLOC_CTX *mem_ctx, struct rpc_pipe_client *cli, DATA_BLOB *session_key); |