From 257bf68f3d82811dc4db76d1632ccd3e2b40a22e Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Sun, 10 Aug 2008 18:24:09 +0100 Subject: [PATCH] rpcss: Register the endpoint for the ncalrpc protseq for the endpoint mapper. --- programs/rpcss/rpcss_main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/programs/rpcss/rpcss_main.c b/programs/rpcss/rpcss_main.c index 1722d5eaebd..c75138e51ed 100644 --- a/programs/rpcss/rpcss_main.c +++ b/programs/rpcss/rpcss_main.c @@ -68,6 +68,8 @@ static BOOL RPCSS_Initialize(void) static unsigned short irot_endpoint[] = IROT_ENDPOINT; static unsigned short epm_protseq[] = {'n','c','a','c','n','_','n','p',0}; static unsigned short epm_endpoint[] = {'\\','p','i','p','e','\\','e','p','m','a','p','p','e','r',0}; + static unsigned short epm_protseq_lrpc[] = {'n','c','a','l','r','p','c',0}; + static unsigned short epm_endpoint_lrpc[] = {'e','p','m','a','p','p','e','r',0}; RPC_STATUS status; WINE_TRACE("\n"); @@ -87,6 +89,11 @@ static BOOL RPCSS_Initialize(void) if (status != RPC_S_OK) goto fail; + status = RpcServerUseProtseqEpW(epm_protseq_lrpc, RPC_C_PROTSEQ_MAX_REQS_DEFAULT, + epm_endpoint_lrpc, NULL); + if (status != RPC_S_OK) + goto fail; + status = RpcServerUseProtseqEpW(irot_protseq, RPC_C_PROTSEQ_MAX_REQS_DEFAULT, irot_endpoint, NULL); if (status != RPC_S_OK)