From e056ed97d79c046a7f4b9562ad785fc54719a8ce Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 8 Nov 2004 22:18:18 +0000 Subject: r3626: More minor DCOM fixes (This used to be commit 709f279b192c8f9eeea04749169c00f2d57b20d3) --- source4/build/pidl/client.pm | 4 ++-- source4/build/pidl/parser.pm | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'source4/build') diff --git a/source4/build/pidl/client.pm b/source4/build/pidl/client.pm index 1c0baa16f8..549a5d0dd3 100644 --- a/source4/build/pidl/client.pm +++ b/source4/build/pidl/client.pm @@ -35,8 +35,8 @@ struct rpc_request *dcerpc_$name\_send(struct dcom_interface *d, TALLOC_CTX *mem } ZERO_STRUCT(r->in.ORPCthis); - r->in.ORPCthis.version.MajorVersion = 5; - r->in.ORPCthis.version.MinorVersion = 1; + r->in.ORPCthis.version.MajorVersion = COM_MAJOR_VERSION; + r->in.ORPCthis.version.MinorVersion = COM_MINOR_VERSION; "; } else { diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm index 2ace0fdd8f..fd95f91665 100644 --- a/source4/build/pidl/parser.pm +++ b/source4/build/pidl/parser.pm @@ -1316,10 +1316,6 @@ sub ParseFunctionPush($) pidl "\n\tif (!(flags & NDR_IN)) goto ndr_out;\n\n"; - if (util::has_property($fn, "object")) { - # FIXME: Set COM version and possibly causality ID - } - foreach my $e (@{$fn->{DATA}}) { if (util::has_property($e, "in")) { ParseFunctionElementPush($e, "in"); -- cgit