ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 804 of file class.ilLDAPQuery.php.

805{
806 global $DIC;
807
808 $ilLog = $DIC['ilLog'];
809
810 $ilLog->write('LDAP: Called referralRebind.');
811
812 ldap_set_option($a_ds, LDAP_OPT_PROTOCOL_VERSION, 3);
813
814 if (!ldap_bind($a_ds, IL_LDAP_REBIND_USER, IL_LDAP_REBIND_PASS)) {
815 $ilLog->write('LDAP: Rebind failed');
816 }
817}
$DIC
Definition: xapitoken.php:46

References $DIC, and $ilLog.

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