ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 671 of file class.ilLDAPQuery.php.

References $ilLog.

672 {
673  global $ilLog;
674 
675  $ilLog->write('LDAP: Called referralRebind.');
676 
677  ldap_set_option($a_ds, LDAP_OPT_PROTOCOL_VERSION, 3);
678 
679  if (!ldap_bind($a_ds, IL_LDAP_REBIND_USER, IL_LDAP_REBIND_PASS)) {
680  $ilLog->write('LDAP: Rebind failed');
681  }
682 }

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().