1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:rpc_server: make use of dcerpc_binding_set_abstract_syntax()

This is better than accessing the dcerpc_binding internals.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-01-30 23:09:50 +01:00 committed by Günther Deschner
parent a91a59b9d8
commit 03f7c31326

View File

@ -206,7 +206,13 @@ static void rpc_ep_monitor_loop(struct tevent_req *subreq)
return;
}
map_binding->object = state->iface->syntax_id;
status = dcerpc_binding_set_abstract_syntax(map_binding,
&state->iface->syntax_id);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(tmp_ctx);
talloc_free(state);
return;
}
map_tower = talloc_zero(tmp_ctx, struct epm_twr_t);
if (map_tower == NULL) {