When Chief O'Brien accidentally triggers an old anti-insurgency program left behind by the Cardassians, the station's computers believe that the crew is a mob of rebelling Bajorans and takes steps to contain them.
click here to see where to watch or (watch here).
Ready to Watch Star Trek Deep Space Nine, Season 3, Episode 7?