A decade ago , Osama bin Laden and his al-Qaida network were based in Sudan .