An official and residents of Maridi say at least three people are known to have been killed by gunmen who attacked the town.