You must ensure that the landlord has the right to sub-let, and will need to check whether the superior landlord (ie the landlord's landlord) has any right to be involved in the negotiations. You will also need to check the terms of the landlord's lease more generally: restrictions in that lease (for example, on how the premises may be used) will also apply to you.