s4:librpc/rpc: always call dcerpc_binding_set_abstract_syntax() in dcerpc_epm_map_bin...
commitc50664f68f10d0965908707258909d9da1e879fc
authorStefan Metzmacher <metze@samba.org>
Sat, 25 Jan 2014 10:14:36 +0000 (25 11:14 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 13 Feb 2014 10:54:15 +0000 (13 11:54 +0100)
tree620efa7d0ee0cb9b3e26be142c8004bb1bde9ae9
parent8ccebf3a2749bf7c4f5e358b76e0eef7195f0f18
s4:librpc/rpc: always call dcerpc_binding_set_abstract_syntax() in dcerpc_epm_map_binding_send()

We should always set the abstract syntax even if we don't ask the endpoint
mapper.

By using dcerpc_binding_set_abstract_syntax() instead of calling
binding->object = table->syntax_id, we will be able to separate
the abstract_syntax from the object uuid in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/librpc/rpc/dcerpc_util.c