mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +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:
parent
a91a59b9d8
commit
03f7c31326
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user