From 0389cad7c492eda5aee590d0396748c7da9b44ff Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 3 Apr 2007 12:28:40 +0000 Subject: r22055: Port the endpoint mapper (and functions it requires) to Samba 3. (This used to be commit ad981261877e6a2dce0c4f4e71fd9127aa31538a) --- source3/include/rpc_client.h | 1 + source3/include/smb.h | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/rpc_client.h b/source3/include/rpc_client.h index 72737eafaf..94803dbaea 100644 --- a/source3/include/rpc_client.h +++ b/source3/include/rpc_client.h @@ -25,6 +25,7 @@ #include "librpc/gen_ndr/cli_echo.h" #include "librpc/gen_ndr/cli_unixinfo.h" +#include "librpc/gen_ndr/cli_epmapper.h" #include "librpc/gen_ndr/cli_dfs.h" #include "librpc/gen_ndr/cli_lsa.h" #include "librpc/gen_ndr/cli_srvsvc.h" diff --git a/source3/include/smb.h b/source3/include/smb.h index 722c34d9d3..27c1af1f82 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -187,7 +187,7 @@ typedef uint32 codepoint_t; #define PIPE_NETDFS "\\PIPE\\netdfs" #define PIPE_ECHO "\\PIPE\\rpcecho" #define PIPE_SHUTDOWN "\\PIPE\\initshutdown" -#define PIPE_EPM "\\PIPE\\epmapper" +#define PIPE_EPMAPPER "\\PIPE\\epmapper" #define PIPE_SVCCTL "\\PIPE\\svcctl" #define PIPE_EVENTLOG "\\PIPE\\eventlog" #define PIPE_UNIXINFO "\\PIPE\\unixinfo" @@ -209,7 +209,8 @@ typedef uint32 codepoint_t; #define PI_EVENTLOG 12 #define PI_UNIXINFO 13 #define PI_NTSVCS 14 -#define PI_MAX_PIPES 15 +#define PI_EPMAPPER 15 +#define PI_MAX_PIPES 16 /* 64 bit time (100usec) since ????? - cifs6.txt, section 3.5, page 30 */ typedef uint64_t NTTIME; @@ -1898,4 +1899,6 @@ enum usershare_err { /* Different reasons for closing a file. */ enum file_close_type {NORMAL_CLOSE=0,SHUTDOWN_CLOSE,ERROR_CLOSE}; +#include "librpc/gen_ndr/epmapper.h" + #endif /* _SMB_H */ -- cgit