diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-24 01:24:29 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-24 01:24:29 +0000 |
commit | c7fd83d0b280810f16f7ef99ba58efb007f93920 (patch) | |
tree | 4a3cb1b009b6a4ed5980a4bc1cd30376c003f0b1 /source4/librpc/rpc/dcerpc.c | |
parent | 27b1dbaea64e02eccf07ff6643bffc2991264533 (diff) | |
download | samba-c7fd83d0b280810f16f7ef99ba58efb007f93920.tar.gz samba-c7fd83d0b280810f16f7ef99ba58efb007f93920.tar.bz2 samba-c7fd83d0b280810f16f7ef99ba58efb007f93920.zip |
added the dcerpc remote management interfaces as mgmt.idl, and wrote a
test suite. The test suite dumps all of the interfaces available on
all pipes. There sure are a lot more interfaces on w2k3 than w2k !
(This used to be commit f94bc079902d725b63155d8d2de5bf408c6e7335)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.c')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 6a8b867136..6322123279 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -237,14 +237,17 @@ NTSTATUS dcerpc_bind_byuuid(struct dcerpc_pipe *p, DEBUG(2,("Invalid uuid string in dcerpc_bind_byuuid\n")); return status; } - syntax.if_version = version; + syntax.major_version = version; + syntax.minor_version = 0; status = guid_from_string("8a885d04-1ceb-11c9-9fe8-08002b104860", &transfer_syntax.uuid); if (!NT_STATUS_IS_OK(status)) { return status; } - transfer_syntax.if_version = 2; + + transfer_syntax.major_version = 2; + transfer_syntax.minor_version = 0; return dcerpc_bind(p, &syntax, &transfer_syntax); } |