If an employer phones for a recommendation, the fact that you are only willing to confirm employment details is a signal onto itself that the person is probably not a good hire.
Actually most companies’ policies is name, rank and serial number even if the person was the best employee in history.
Lawyers and lawsuits have ensured that honest opinions will never cross the threshold.