Hi David,
In your RFC sender cc and in SM59, is the gateway and host pointing to your XI system (with the same settings as LCRSAPRFC and SAPSLDAPI)? If yes, then please follow this blog by Michal
Configuring the Sender RFC Adapter - step by step. This is the correct way of configuring the RFC sender adapter.
Hope this helps,
Mark