Ldap improvement

Small improvement - gets the domain rather than using a null sting to bind. This may improve some issues.., Or not, I have to test more.

Built on https://github.com/rapid7/metasploit-framework/pull/2914