summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-15 00:40:57 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-15 00:40:57 +0000
commit79990c727c700399927d7bc7fd121fc310daa798 (patch)
treee1c233e4155a69bb06bc4a18fa9ceaab0680d905
parentf6eb8342cba87c7c8f17471ed9783b567d36b0ed (diff)
downloadsamba-79990c727c700399927d7bc7fd121fc310daa798.tar.gz
samba-79990c727c700399927d7bc7fd121fc310daa798.tar.bz2
samba-79990c727c700399927d7bc7fd121fc310daa798.zip
fixed the transfer syntax in the dcerpc bind reply
(This used to be commit 39a7c660f4b7cafb0414842329669dd4724b07db)
-rw-r--r--source4/rpc_server/dcerpc_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index cbde3c9532..f3c7a63c79 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -355,8 +355,8 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call)
}
pkt.u.bind_ack.ctx_list[0].result = result;
pkt.u.bind_ack.ctx_list[0].reason = reason;
- GUID_from_string(uuid, &pkt.u.bind_ack.ctx_list[0].syntax.uuid);
- pkt.u.bind_ack.ctx_list[0].syntax.major_version = if_version;
+ GUID_from_string(NDR_GUID, &pkt.u.bind_ack.ctx_list[0].syntax.uuid);
+ pkt.u.bind_ack.ctx_list[0].syntax.major_version = NDR_GUID_VERSION;
pkt.u.bind_ack.ctx_list[0].syntax.minor_version = 0;
pkt.u.bind_ack.auth_info = data_blob(NULL, 0);