Oldham Athletic have been drawn away to Mansfield Town in the first round of the Emirates FA Cup.
And Latics will be looking for the same result as when the clubs were paired together in the knockout two years ago.
Then Latics won a replay 4-1 at Field Mill to earn a lucrative third-round tie at Liverpool.
Other local ties of interest include Evo Stik League side Salford City at home to League Two side Notts County while FC United of Manchester host League One club Chesterfield.
Former Latics’ manager Lee Johnson takes Barnsley to part-timers Altrincham while AFC Fylde have a tough trip to Millwall.
Ties are to be played over the weekend of November 6, 7 and 8.