He was previously the manager of the Swaziland national side, where he was appointed in May 2008. Mashaba has previously managed the South Africa national side, but was sacked from the team on the eve of the 2004 African Cup of Nations in January 2004 after previously having been suspended. Mashaba has also managed club sides Vaal Reef Stars and Black Leopards.