You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Select a random domain controller
$domainController = $this->domainControllers[array_rand($this->domainControllers)];
// Get the LDAP port
$port = $this->getPort();
// Create the LDAP connection
$this->ldapConnection->connect($domainController, $port);
// Set the LDAP options
$this->ldapConnection->setOption(LDAP_OPT_PROTOCOL_VERSION, 3);
$this->ldapConnection->setOption(LDAP_OPT_REFERRALS, $this->followReferrals);
// Authenticate to the server
return $this->authenticate($this->getAdminUsername(), $this->getAdminPassword(), true);
}
Call to a member function connect() on null
The text was updated successfully, but these errors were encountered: