summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-10-24 13:49:29 +0000
committerJim McDonough <jmcd@samba.org>2003-10-24 13:49:29 +0000
commit3d8e3f314b9f1ad3966afd5ad217a63b109de0f9 (patch)
tree07e46a5c7e7ab1f5a08b3aac5d1bc092d068decf /source3/rpc_parse
parentd2523233ea46945dea9c701ad4e5519f5cdc95c4 (diff)
downloadsamba-3d8e3f314b9f1ad3966afd5ad217a63b109de0f9.tar.gz
samba-3d8e3f314b9f1ad3966afd5ad217a63b109de0f9.tar.bz2
samba-3d8e3f314b9f1ad3966afd5ad217a63b109de0f9.zip
Add initshutdown pipe commands to rpcclient. Second part of fix to bug
#534 (This used to be commit 4e86243ea1d4bbe96720caaaf02300f5e15bee5a)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_rpc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index 1ea59feaed..e2781b2008 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/rpc_parse/parse_rpc.c
@@ -147,6 +147,15 @@ interface/version dce/rpc pipe identification
}, 0x01 \
}
+#define SYNT_SHUTDOWN_V1 \
+{ \
+ { \
+ 0x894de0c0, 0x0d55, 0x11d3, \
+ { 0xa3, 0x22, 0x00, 0xc0, \
+ 0x4f, 0xa3, 0x21, 0xa1 } \
+ }, 0x01 \
+}
+
/*
* IMPORTANT!! If you update this structure, make sure to
* update the index #defines in smb.h.
@@ -165,6 +174,7 @@ const struct pipe_id_info pipe_names [] =
{ PIPE_SPOOLSS , SYNT_SPOOLSS_V1 , PIPE_SPOOLSS , TRANS_SYNT_V2 },
{ PIPE_NETDFS , SYNT_NETDFS_V3 , PIPE_NETDFS , TRANS_SYNT_V2 },
{ PIPE_ECHO , SYNT_ECHO_V1 , PIPE_ECHO , TRANS_SYNT_V2 },
+ { PIPE_SHUTDOWN, SYNT_SHUTDOWN_V1 , PIPE_SHUTDOWN , TRANS_SYNT_V2 },
{ NULL , SYNT_NONE_V0 , NULL , SYNT_NONE_V0 }
};