Two people tried to breach the main gate to enter the headquarters of the National Security Agency at Fort Meade, Maryland, a federal law enforcement official says.