summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-02 12:36:25 +0200
committerGünther Deschner <gd@samba.org>2011-05-02 15:03:44 +0200
commit80fa624861e6f45c4b6837969253d5fbac2f3b1e (patch)
tree7f0322538f0dbfe72142d5dfa660f9e25cc048ff /source3/librpc
parentf7d6a0a1121c355a87dd113d2cb2a4985cdc06ce (diff)
downloadsamba-80fa624861e6f45c4b6837969253d5fbac2f3b1e.tar.gz
samba-80fa624861e6f45c4b6837969253d5fbac2f3b1e.tar.bz2
samba-80fa624861e6f45c4b6837969253d5fbac2f3b1e.zip
s3: move pipe_auth_data to dcerpc.h
Guenther
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/rpc/dcerpc.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h
index 05e8e0d3af..d7e8e0c193 100644
--- a/source3/librpc/rpc/dcerpc.h
+++ b/source3/librpc/rpc/dcerpc.h
@@ -33,7 +33,20 @@
#define SMB_RPC_INTERFACE_VERSION 1
struct NL_AUTH_MESSAGE;
-struct pipe_auth_data;
+
+/* auth state for all bind types. */
+
+struct pipe_auth_data {
+ enum dcerpc_AuthType auth_type;
+ enum dcerpc_AuthLevel auth_level;
+
+ void *auth_ctx;
+
+ /* Only the client code uses these 3 for now */
+ char *domain;
+ char *user_name;
+ DATA_BLOB user_session_key;
+};
/* The following definitions come from librpc/rpc/dcerpc_helpers.c */
NTSTATUS dcerpc_push_ncacn_packet(TALLOC_CTX *mem_ctx,