DDF-734 added check for port in ldap URL