Ban Ki-moon, the U.N. secretary general, left, with President Vladimir V. Putin of Russia in May.