Security officials say the attack occurred Thursday in the eastern town of Batna - shortly before President Abdelaziz Bouteflika was scheduled to visit .