Comparing revisions for ActiveDirectory

Deletions:
Shouldn't it be Wakka.class.php now??? /AndreasHeintze
~~&I found that in my intranet environment I needed to modify the function ""GetUserName()"" in wikka.php to use the AUTH_USER server variable:
~~&%%(php)
function GetUserName() {
if ($user = $this->GetUser())
$name = $user["name"];
// start of new code
else if (!$name = $_SERVER["AUTH_USER"])
$name = $_SERVER["AUTH_USER"];
//end of new code
else if (!$name = gethostbyaddr($_SERVER["REMOTE_ADDR"]))
$name = $_SERVER["REMOTE_ADDR"];
return $name;
}
~~&--JulianElve
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki