summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-26 03:43:04 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-26 03:43:04 +0000
commitc168ca2157aaa10ba75bc7ed89a1e4dad5433f1d (patch)
tree7f11d12c87c3cb808c7dc9c23cf2286bb0bcd078
parentfca5f780326f44cf7b26fe0f99244be34cc1a6ab (diff)
downloadsamba-c168ca2157aaa10ba75bc7ed89a1e4dad5433f1d.tar.gz
samba-c168ca2157aaa10ba75bc7ed89a1e4dad5433f1d.tar.bz2
samba-c168ca2157aaa10ba75bc7ed89a1e4dad5433f1d.zip
transfer syntax V2 isn't as magic as I thought
(This used to be commit bb3bb5dc8d494afd077fa613d064767d7aad90cd)
-rw-r--r--source4/librpc/rpc/dcerpc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 2fc940314d..df9c1face4 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -393,13 +393,11 @@ NTSTATUS dcerpc_bind_byuuid(struct dcerpc_pipe *p,
syntax.major_version = version;
syntax.minor_version = 0;
- status = GUID_from_string("8a885d04-1ceb-11c9-9fe8-08002b104860",
- &transfer_syntax.uuid);
+ status = GUID_from_string(NDR_GUID, &transfer_syntax.uuid);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
- transfer_syntax.major_version = 2;
+ transfer_syntax.major_version = NDR_GUID_VERSION;
transfer_syntax.minor_version = 0;
return dcerpc_bind(p, mem_ctx, &syntax, &transfer_syntax);