Lines Matching refs:ldapConnection
175 protected $ldapConnection; variable in adLDAP
184 if ($this->ldapConnection) {
185 return $this->ldapConnection;
628 $this->ldapConnection = ldap_connect("ldaps://" . $domainController, $this->adPort);
630 $this->ldapConnection = ldap_connect($domainController, $this->adPort);
634 ldap_set_option($this->ldapConnection, LDAP_OPT_PROTOCOL_VERSION, 3);
635 ldap_set_option($this->ldapConnection, LDAP_OPT_REFERRALS, 0);
638 ldap_start_tls($this->ldapConnection);
643 …$this->ldapBind = @ldap_bind($this->ldapConnection, $this->adminUsername . $this->accountSuffix, $…
656 $this->ldapBind = @ldap_sasl_bind($this->ldapConnection, NULL, NULL, "GSSAPI");
679 if ($this->ldapConnection) {
680 @ldap_close($this->ldapConnection);
700 $this->ldapBind = @ldap_sasl_bind($this->ldapConnection, NULL, NULL, "GSSAPI");
711 … $this->ldapBind = @ldap_bind($this->ldapConnection, $username . $this->accountSuffix, $password);
718 …$this->ldapBind = @ldap_bind($this->ldapConnection, $this->adminUsername . $this->accountSuffix , …
748 $sr = @ldap_read($this->ldapConnection, NULL, 'objectClass=*', $attributes);
749 $entries = @ldap_get_entries($this->ldapConnection, $sr);
763 return @ldap_error($this->ldapConnection);