From 1f87fc798d58dc27152b236e6e66c89684007b2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 12 Nov 2008 09:21:53 +0100 Subject: [PATCH] ntsvcs: use both named-pipe endpoints. Guenther --- librpc/idl/ntsvcs.idl | 1 + source3/librpc/gen_ndr/ndr_ntsvcs.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/librpc/idl/ntsvcs.idl b/librpc/idl/ntsvcs.idl index 01d81048882..9f752cd027b 100644 --- a/librpc/idl/ntsvcs.idl +++ b/librpc/idl/ntsvcs.idl @@ -7,6 +7,7 @@ import "winreg.idl"; [ uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"), version(1.0), + endpoint("ncacn_np:[\\pipe\\ntsvcs]","ncacn_np:[\\pipe\\plugplay]"), helpstring("Plug and Play services") ] interface ntsvcs diff --git a/source3/librpc/gen_ndr/ndr_ntsvcs.c b/source3/librpc/gen_ndr/ndr_ntsvcs.c index a382b0696d4..717792861d0 100644 --- a/source3/librpc/gen_ndr/ndr_ntsvcs.c +++ b/source3/librpc/gen_ndr/ndr_ntsvcs.c @@ -3857,10 +3857,11 @@ static const struct ndr_interface_call ntsvcs_calls[] = { static const char * const ntsvcs_endpoint_strings[] = { "ncacn_np:[\\pipe\\ntsvcs]", + "ncacn_np:[\\pipe\\plugplay]", }; static const struct ndr_interface_string_array ntsvcs_endpoints = { - .count = 1, + .count = 2, .names = ntsvcs_endpoint_strings }; -- 2.47.3