mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s4:torture/rpc: use dcerpc_binding_set_abstract_syntax() in epmapper.c
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
03846bcc08
commit
57476e4e22
@ -174,7 +174,9 @@ static bool test_Map_tcpip(struct torture_context *tctx,
|
||||
torture_assert_ntstatus_ok(tctx, status,
|
||||
"epm_Map_tcpip failed: can't create map_binding");
|
||||
|
||||
map_binding->object = map_syntax;
|
||||
status = dcerpc_binding_set_abstract_syntax(map_binding, &map_syntax);
|
||||
torture_assert_ntstatus_ok(tctx, status,
|
||||
"epm_Map_tcpip failed: set map_syntax");
|
||||
|
||||
status = dcerpc_binding_build_tower(tctx, map_binding,
|
||||
&map_tower.tower);
|
||||
|
Loading…
x
Reference in New Issue
Block a user