ntsvcs: use both named-pipe endpoints.
authorGünther Deschner <gd@samba.org>
Wed, 12 Nov 2008 08:21:53 +0000 (09:21 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 12 Nov 2008 09:19:25 +0000 (10:19 +0100)
Guenther

librpc/idl/ntsvcs.idl
source3/librpc/gen_ndr/ndr_ntsvcs.c

index 01d81048882abe779f5049989ca19ed4403107ee..9f752cd027b1153c118957fb131f0a0e8b9e0d69 100644 (file)
@@ -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
index a382b0696d40a65b0d8f32420cf494a6b5412ee1..717792861d0b8107ee5bfe5d587e626b24670afe 100644 (file)
@@ -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
 };