Authorities say the attack happened Wednesday in the town of Kohat .