s4:rpc_server/remote: use ndr_table_by_syntax() in remote_op_bind()
authorStefan Metzmacher <metze@samba.org>
Tue, 4 Feb 2014 01:05:20 +0000 (02:05 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 13 Feb 2014 10:54:17 +0000 (11:54 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/rpc_server/remote/dcesrv_remote.c

index a903e2ab5cfcf2aea84d7a9c84bfa712bcacef14..09bda8b35897db7ae6d288962cc3469eeb5ded31 100644 (file)
@@ -71,7 +71,7 @@ static NTSTATUS remote_op_bind(struct dcesrv_call_state *dce_call, const struct
        pass = lpcfg_parm_string(dce_call->conn->dce_ctx->lp_ctx, NULL, "dcerpc_remote", "password");
        domain = lpcfg_parm_string(dce_call->conn->dce_ctx->lp_ctx, NULL, "dceprc_remote", "domain");
 
-       table = ndr_table_by_uuid(&iface->syntax_id.uuid); /* FIXME: What about if_version ? */
+       table = ndr_table_by_syntax(&iface->syntax_id);
        if (!table) {
                dce_call->fault_code = DCERPC_FAULT_UNK_IF;
                return NT_STATUS_NET_WRITE_FAULT;