Gunmen stormed the campus where a book fair had drawn senior Afghan and Iranian officials, though it wasn't immediately clear whether the group was the intended target of the attack.