It is a tough draw for the Whites as Oldham managed to take four points of United last season so will be confident of progressing.
FA Cup first-round draw:
Gillingham v Southend
Grimsby v Bath City
Gateshead v Brentford
Chesterfield v Bournemouth
Blyth Spartans or Telford United v Lincoln
Stockport v Tooting & Mitcham United or Eastbourne Borough
Burton v Oxford City
Barrow or Chester City v Eastleigh
Oldham v Leeds
Lincoln United or Cambridge United v Ilkeston Town
York v Crewe
Wycombe v Brighton
Hereford v Sutton United
Nuneaton Town v Exeter
Bristol Rovers v Southampton
Carlisle v Morecambe
Forest Green v Mansfield
Oxford United v Yeovil
Paulton Rovers v Norwich
Swindon v Woking
Port Vale v Stevenage
Luton v Rochdale
Bromley v Colchester
Accrington v Farnborough or Salisbury City
Millwall v Crawley Town or AFC Wimbledon
Stourbridge v Walsall
Shrewsbury v Staines Town
Wealdstone v Rotherham
Torquay v Cheltenham
Barnet v Darlington
Notts County v Bradford
Huddersfield v Dagenham & Redbridge
MK Dons v Macclesfield
Rushden & Diamonds v Hinckley United
Northwich Victoria v Charlton
Aldershot v Bury
Wrexham v Gloucester City or Lowestoft
Hartlepool v Kettering or Redditch United
Tranmere v Leyton Orient
Northampton v Kidderminster or Fleetwood
Matches to be played on the weekend of November 7-8.