ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilLDAPQuery.php File Reference

Go to the source code of this file.

Data Structures

class  ilLDAPQuery
 

Functions

 referralRebind ($a_ds, $a_url)
 

Variables

const IL_LDAP_BIND_DEFAULT 0
 
const IL_LDAP_BIND_ADMIN 1
 
const IL_LDAP_BIND_TEST 2
 
const IL_LDAP_BIND_AUTH 10
 

Function Documentation

◆ referralRebind()

referralRebind (   $a_ds,
  $a_url 
)

Definition at line 675 of file class.ilLDAPQuery.php.

References $DIC, and $ilLog.

676 {
677  global $DIC;
678 
679  $ilLog = $DIC['ilLog'];
680 
681  $ilLog->write('LDAP: Called referralRebind.');
682 
683  ldap_set_option($a_ds, LDAP_OPT_PROTOCOL_VERSION, 3);
684 
685  if (!ldap_bind($a_ds, IL_LDAP_REBIND_USER, IL_LDAP_REBIND_PASS)) {
686  $ilLog->write('LDAP: Rebind failed');
687  }
688 }
global $DIC
Definition: saml.php:7

Variable Documentation

◆ IL_LDAP_BIND_ADMIN

const IL_LDAP_BIND_ADMIN 1

◆ IL_LDAP_BIND_AUTH

const IL_LDAP_BIND_AUTH 10

Definition at line 27 of file class.ilLDAPQuery.php.

Referenced by ilLDAPQuery\bind(), and ilAuthProviderLDAP\doAuthentication().

◆ IL_LDAP_BIND_DEFAULT

◆ IL_LDAP_BIND_TEST

const IL_LDAP_BIND_TEST 2

Definition at line 26 of file class.ilLDAPQuery.php.

Referenced by ilLDAPQuery\bind(), and ilLDAPServer\doConnectionCheck().