summaryrefslogtreecommitdiff
path: root/source3/include/rpc_dce.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-02-29 21:39:54 +0000
committerJeremy Allison <jra@samba.org>2000-02-29 21:39:54 +0000
commit4fb014372e7bcf1b40396841f162a14cb58a086a (patch)
treed6e06397f742970c09205bcd52bc4a49e18178b2 /source3/include/rpc_dce.h
parentf429162313c199b2b1466f25830c3241aa81f2b4 (diff)
downloadsamba-4fb014372e7bcf1b40396841f162a14cb58a086a.tar.gz
samba-4fb014372e7bcf1b40396841f162a14cb58a086a.tar.bz2
samba-4fb014372e7bcf1b40396841f162a14cb58a086a.zip
Fixes from Luke, back-ported from TNG to Win2k. Correctly return FAULT_PDU on
unknown rpc calls. Win2k now correctly shows the owners of files. Jeremy. (This used to be commit 066898689f496dc655c3f0a553ac5e884e078022)
Diffstat (limited to 'source3/include/rpc_dce.h')
-rw-r--r--source3/include/rpc_dce.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/rpc_dce.h b/source3/include/rpc_dce.h
index 19527ca6e2..4e7b3f0437 100644
--- a/source3/include/rpc_dce.h
+++ b/source3/include/rpc_dce.h
@@ -45,6 +45,7 @@ enum RPC_PKT_TYPE
/* DCE/RPC flags */
#define RPC_FLG_FIRST 0x01
#define RPC_FLG_LAST 0x02
+#define RPC_FLG_NOCALL 0x20
/* NTLMSSP message types */
enum NTLM_MESSAGE_TYPE
@@ -157,6 +158,15 @@ typedef struct rpc_hdr_resp_info
#define RPC_HDR_RESP_LEN 8
+/* RPC_HDR_FAULT - fault rpc header */
+typedef struct rpc_hdr_fault_info
+{
+ uint32 status;
+ uint32 reserved; /* 0x0000 0000 */
+} RPC_HDR_FAULT;
+
+#define RPC_HDR_FAULT_LEN 8
+
/* this seems to be the same string name depending on the name of the pipe,
* but is more likely to be linked to the interface name
* "srvsvc", "\\PIPE\\ntsvcs"