Go to the source code of this file.
Data Structures | |
| class | ilLDAPQuery |
Enumerations | |
| enum | IL_LDAP_BIND_DEFAULT |
| enum | IL_LDAP_BIND_ADMIN |
| enum | IL_LDAP_BIND_TEST |
Functions | |
| referralRebind ($a_ds, $a_url) | |
| enum IL_LDAP_BIND_ADMIN |
Definition at line 25 of file class.ilLDAPQuery.php.
| enum IL_LDAP_BIND_DEFAULT |
Definition at line 24 of file class.ilLDAPQuery.php.
| enum IL_LDAP_BIND_TEST |
Definition at line 26 of file class.ilLDAPQuery.php.
| 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');
}
}
1.7.1