diff options
author | Jeremy Allison <jra@samba.org> | 2000-02-29 21:39:54 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-02-29 21:39:54 +0000 |
commit | 4fb014372e7bcf1b40396841f162a14cb58a086a (patch) | |
tree | d6e06397f742970c09205bcd52bc4a49e18178b2 /source3/include | |
parent | f429162313c199b2b1466f25830c3241aa81f2b4 (diff) | |
download | samba-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')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/include/rpc_dce.h | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 234e51d184..7fbab12362 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2061,6 +2061,7 @@ BOOL smb_io_rpc_hdr_ba(char *desc, RPC_HDR_BA *rpc, prs_struct *ps, int depth); void init_rpc_hdr_req(RPC_HDR_REQ *hdr, uint32 alloc_hint, uint16 opnum); BOOL smb_io_rpc_hdr_req(char *desc, RPC_HDR_REQ *rpc, prs_struct *ps, int depth); BOOL smb_io_rpc_hdr_resp(char *desc, RPC_HDR_RESP *rpc, prs_struct *ps, int depth); +BOOL smb_io_rpc_hdr_fault(char *desc, RPC_HDR_FAULT *rpc, prs_struct *ps, int depth); void init_rpc_hdr_autha(RPC_HDR_AUTHA *rai, uint16 max_tsize, uint16 max_rsize, uint8 auth_type, uint8 auth_level, 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" |