summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc/dcerpc_spnego.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-29 19:55:44 -0400
committerSimo Sorce <idra@samba.org>2010-07-30 14:55:27 -0400
commit186f93633b4890c444115ac4eed109aa24f20b44 (patch)
tree2f43c02f3fe842897571b5e5121a7a98091b2b09 /source3/librpc/rpc/dcerpc_spnego.h
parent984438ca1522bfc2d882b2e3e7e8db187577e05a (diff)
downloadsamba-186f93633b4890c444115ac4eed109aa24f20b44.tar.gz
samba-186f93633b4890c444115ac4eed109aa24f20b44.tar.bz2
samba-186f93633b4890c444115ac4eed109aa24f20b44.zip
s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSP
Diffstat (limited to 'source3/librpc/rpc/dcerpc_spnego.h')
-rw-r--r--source3/librpc/rpc/dcerpc_spnego.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc_spnego.h b/source3/librpc/rpc/dcerpc_spnego.h
index 08458b246f..58363fd072 100644
--- a/source3/librpc/rpc/dcerpc_spnego.h
+++ b/source3/librpc/rpc/dcerpc_spnego.h
@@ -31,6 +31,12 @@ NTSTATUS spnego_gssapi_init_client(TALLOC_CTX *mem_ctx,
const char *password,
uint32_t add_gss_c_flags,
struct spnego_context **spengo_ctx);
+NTSTATUS spnego_ntlmssp_init_client(TALLOC_CTX *mem_ctx,
+ enum dcerpc_AuthLevel auth_level,
+ const char *domain,
+ const char *username,
+ const char *password,
+ struct spnego_context **spnego_ctx);
NTSTATUS spnego_get_client_auth_token(TALLOC_CTX *mem_ctx,
struct spnego_context *sp_ctx,
@@ -43,4 +49,5 @@ NTSTATUS spnego_get_negotiated_mech(struct spnego_context *sp_ctx,
enum dcerpc_AuthType *auth_type,
void **auth_context);
+DATA_BLOB spnego_get_session_key(struct spnego_context *sp_ctx);
#endif /* _DCERPC_SPENGO_H_ */