Police in South Africa said on Friday they detained 95 Libyans after a raid on a farm that appeared to have been used as a military camp.