diff options
author | Simo Sorce <idra@samba.org> | 2010-07-28 17:06:51 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-30 14:55:27 -0400 |
commit | 0b24e8e869207dcb567b61272794daef48ee492a (patch) | |
tree | ca62173a0d4265da7c69d6e7b48dd763094f2f70 /source3/include | |
parent | e286b9c0bd7bf553f216d7c8288bb75a6b3dde95 (diff) | |
download | samba-0b24e8e869207dcb567b61272794daef48ee492a.tar.gz samba-0b24e8e869207dcb567b61272794daef48ee492a.tar.bz2 samba-0b24e8e869207dcb567b61272794daef48ee492a.zip |
s3-dcerpc: Add SPNEGO incapsulation for KRB5 auth
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); |