public __construct ( Scalr\Net\Ldap\LdapConfig $config, string $username, string $password, $uid = null ) | ||
$config | Scalr\Net\Ldap\LdapConfig | LDAP config |
$username | string | LDAP rdn to check. It should look like [email protected] |
$password | string | LDAP password for the specified user |
public function __construct(LdapConfig $config, $username, $password, $uid = null)
{
$this->config = $config;
$this->username = $username;
$this->password = $password;
$this->uid = $uid;
$this->dn = null;
$this->isbound = false;
$this->aLog = array();
$this->log('LdapClient v-%s', self::VERSION);
}