From: Günther Deschner Date: Wed, 12 Nov 2008 08:21:53 +0000 (+0100) Subject: ntsvcs: use both named-pipe endpoints. X-Git-Tag: samba-4.0.0alpha6~480^2~239 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f87fc798d58dc27152b236e6e66c89684007b2a;p=thirdparty%2Fsamba.git ntsvcs: use both named-pipe endpoints. Guenther --- 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 };