From c168ca2157aaa10ba75bc7ed89a1e4dad5433f1d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 Nov 2003 03:43:04 +0000 Subject: transfer syntax V2 isn't as magic as I thought (This used to be commit bb3bb5dc8d494afd077fa613d064767d7aad90cd) --- source4/librpc/rpc/dcerpc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source4/librpc/rpc') 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); -- cgit