ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 732 of file class.ilLDAPQuery.php.

References $ilLog.

733 {
734  global $ilLog;
735 
736  $ilLog->write('LDAP: Called referralRebind.');
737 
738  ldap_set_option($a_ds, LDAP_OPT_PROTOCOL_VERSION, 3);
739 
740  if (!ldap_bind($a_ds,IL_LDAP_REBIND_USER,IL_LDAP_REBIND_PASS))
741  {
742  $ilLog->write('LDAP: Rebind failed');
743  }
744 }

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