Four-time European champion Ajax will play PAOK of Greece in the Champions League third qualifying round.
Friday's draw sent Russia's Zenit St. Petersburg to Romania first to face Unirea Urziceni.
Scotland's Celtic, the 1967 European champion, travels to play debutant Braga of Portugal.
Another Champions League first-timer, Belgium's Ghent, goes to Dynamo Kiev of Ukraine.
The draw paired 10 non-champions in five ties to decide who advances to a playoff round against non-champions from Europe's top five leagues.
Champions from smaller nations were drawn separately in 10 ties to determine their path to the playoff round.
First leg matches are from July 27-28, and the returns are on Aug. 3-4.