ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

Function Documentation

referralRebind (   $a_ds,
  $a_url 
)

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

References $ilLog.

{
global $ilLog;
$ilLog->write('LDAP: Called referralRebind.');
ldap_set_option($a_ds, LDAP_OPT_PROTOCOL_VERSION, 3);
if (!ldap_bind($a_ds,IL_LDAP_REBIND_USER,IL_LDAP_REBIND_PASS))
{
$ilLog->write('LDAP: Rebind failed');
}
}

Variable Documentation

const IL_LDAP_BIND_ADMIN = 1
const IL_LDAP_BIND_DEFAULT = 0

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

Referenced by ilLDAPQuery\bind(), and ilLDAPCronSynchronization\start().

const IL_LDAP_BIND_TEST = 2

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

Referenced by ilLDAPQuery\bind().