Most companies will only verify dates of employment, and possibly whether the employee is eligible for rehire (yes/no, without getting into reasons).
Writing a letter of reference is more and more a risky thing and even in non-employment situations, more people are reluctant to do it.