24 include_once
'Auth/Container/MDB2.php';
46 $options[
'table'] = $ilClientIniFile->readVariable(
'auth',
'table');
47 $options[
'usernamecol'] = $ilClientIniFile->readVariable(
'auth',
'usercol');
48 $options[
'passwordcol'] = $ilClientIniFile->readVariable(
'auth',
'passcol');
52 if (isset(
$_POST[
'password']) && preg_match(
'/^[a-f0-9]{32,32}$/i',
$_POST[
'password']))
54 if ($ilIliasIniFile->readVariable(
'server',
'studip'))
71 $pos = strrpos($username,
'/');
72 $pos2 = strrpos($username,
'\\');
73 if ($pos ===
false || $pos < $pos2)
79 $username = substr($username, $pos + 1);