diff options
author | Günther Deschner <gd@samba.org> | 2008-11-12 09:21:53 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-12 10:19:25 +0100 |
commit | 1f87fc798d58dc27152b236e6e66c89684007b2a (patch) | |
tree | 365830640cd01c7e568852dd39986c81a3abeef1 | |
parent | 0bb86657311cc753f258b9f10c2204ded3832c2c (diff) | |
download | samba-1f87fc798d58dc27152b236e6e66c89684007b2a.tar.gz samba-1f87fc798d58dc27152b236e6e66c89684007b2a.tar.bz2 samba-1f87fc798d58dc27152b236e6e66c89684007b2a.zip |
ntsvcs: use both named-pipe endpoints.
Guenther
-rw-r--r-- | librpc/idl/ntsvcs.idl | 1 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_ntsvcs.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/librpc/idl/ntsvcs.idl b/librpc/idl/ntsvcs.idl index 01d8104888..9f752cd027 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 a382b0696d..717792861d 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 }; |