The Nigerian army reports that five soldiers and one police officer have been killed in an ambush in Zamfara state.