If a fighter Mark an opponent, he gets to attack him if that opponent shift away. But it's actually an immediate action, not an opportunity attack (You only get one immediate action/turn).
A warlord using Viper strike could grant an ally an AoO against his taget if he shifts away.