public function connect()
    {
        $port = $this->ssl ? $this::PORT_SSL : $this::PORT;

        $hostname = $this->domainController->getHostname();

        return $this->connection = ldap_connect($hostname, $port);
    }