Hello Nelson
It is quite easy if you follow the below suggestion I have given you rather than re-configuring the TMS from scratch.
All you need to do is fix the fix the RFC with the password problem.
You basically need to reset the TMSADM user on the DC and regenerate the RFC's.
You can follow the wiki link to update the TMSADM password on all the systems from the DC.
Regards
RB