Revision [16270]

This is an old revision of Webauth made by GuyEdwards on 2007-03-09 05:38:04.

 

Using Webauth to identify the users

The webauth Apache module, and any other apache authentication module should set $_SERVER[REMOTE_USER] once the user is authenticated.

so in approx line 808 in libs/Wakka.class.php

comment out the existing line and replace:

//      function GetUser() { return (isset($_SESSION["user"])) ? $_SESSION["user"] : NULL; }
		function GetUser() { return (isset($_SERVER["REMOTE_USER"])) ? $_SERVER["REMOTE_USER"] : NULL; }


It now appears to be authenticating the user however the usernames used by webauth (at this location) aren't valid Wiki Formatted names.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki