A plant arabinogalactan-like glycoprotein promotes a novel type of polar surface attachment by Rhizobium leguminosarum.