summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-10-17 15:07:23 +0000
committerJim McDonough <jmcd@samba.org>2003-10-17 15:07:23 +0000
commitd807bc12fb1d208de9b4f9e2532810cf1a9e3695 (patch)
tree88f2616cc3d6114ceff1f8f7208e350f09014515 /source3/rpc_parse
parenta6ff6254dad51acfc484c0ef92c1c484d466f509 (diff)
downloadsamba-d807bc12fb1d208de9b4f9e2532810cf1a9e3695.tar.gz
samba-d807bc12fb1d208de9b4f9e2532810cf1a9e3695.tar.bz2
samba-d807bc12fb1d208de9b4f9e2532810cf1a9e3695.zip
Add epmapper pipe
(This used to be commit 041c17bd665ea5fa771b111d7008036fb3e7b72f)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_rpc.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index 1ea59feaed..57ebe5d356 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_EPM_V3 \
+{ \
+ { \
+ 0xe1af8308, 0x5d1f, 0x11c9, \
+ { 0x91, 0xa4, 0x08, 0x00, \
+ 0x2b, 0x14, 0xa0, 0xfa } \
+ }, 0x03 \
+}
+
/*
* 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_EPM , SYNT_EPM_V3 , PIPE_EPM , TRANS_SYNT_V2 },
{ NULL , SYNT_NONE_V0 , NULL , SYNT_NONE_V0 }
};
@@ -246,7 +256,7 @@ BOOL smb_io_rpc_hdr(const char *desc, RPC_HDR *rpc, prs_struct *ps, int depth)
Reads or writes an RPC_UUID structure.
********************************************************************/
-static BOOL smb_io_rpc_uuid(const char *desc, RPC_UUID *uuid, prs_struct *ps, int depth)
+BOOL smb_io_rpc_uuid(const char *desc, RPC_UUID *uuid, prs_struct *ps, int depth)
{
if (uuid == NULL)
return False;