This fixes a test failure when the host has something listening on the LDAP TCP port. Previously, the test cases would assume that the port was free and they would not connect. For #612