Having owned diesels for years, I would definitely drain the oil and put in the correct diesel oil.
Do not use the gasoline engine oil in your tractor. It does not meet the specs required for a diesel. Oil is quite different for diesel and has to work under different stresses, and deal with the addition of soot in the oil. I would recommend recycling the oil that's currently in there.
HTH,
H.