fixed the transfer syntax in the dcerpc bind reply
authorAndrew Tridgell <tridge@samba.org>
Mon, 15 Dec 2003 00:40:57 +0000 (00:40 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 15 Dec 2003 00:40:57 +0000 (00:40 +0000)
(This used to be commit 39a7c660f4b7cafb0414842329669dd4724b07db)

source4/rpc_server/dcerpc_server.c

index cbde3c953259bf106a4ff34f4806bb14ae39ff20..f3c7a63c79f1bd06ac7dfd66919a8a6e8fbb8828 100644 (file)
@@ -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);