The Hasse principle for symmetric spaces