Militants launched a major attack on the Iraqi city of Samarra on Thursday, killing six people and occupying multiple neighbourhoods, police, a doctor and witnesses said.