Edward,
To solve the connection problem with external database, I suggest you to test outside enrol plugin.
Create a code in Moodle in php that connects to an external database SQL Server. Enable debug to detail error. When the connection works, the plugin will certainly work too. The detail erro will help you to check config of drive.