<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MediaWiki remote user authentication</title>
	<atom:link href="http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/</link>
	<description>Everything is possible... You only have to find out how.</description>
	<lastBuildDate>Thu, 05 May 2011 00:08:55 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Namroud</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-64269</link>
		<dc:creator>Namroud</dc:creator>
		<pubDate>Wed, 22 Sep 2010 21:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-64269</guid>
		<description>How would all of this would work with Ldap authentication Plugin for mediawiki. I mean how to pass http authentication to the Ldap plugin.

Thanks.
Namroud</description>
		<content:encoded><![CDATA[<p>How would all of this would work with Ldap authentication Plugin for mediawiki. I mean how to pass http authentication to the Ldap plugin.</p>
<p>Thanks.<br />
Namroud</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trev</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-61276</link>
		<dc:creator>Trev</dc:creator>
		<pubDate>Fri, 30 Jul 2010 00:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-61276</guid>
		<description>Thanks for all the code + Etenil for the hack.
I&#039;m using this in 1.16.0 and it works perfectly.</description>
		<content:encoded><![CDATA[<p>Thanks for all the code + Etenil for the hack.<br />
I&#8217;m using this in 1.16.0 and it works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaya</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-46586</link>
		<dc:creator>Jaya</dc:creator>
		<pubDate>Thu, 13 Aug 2009 12:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-46586</guid>
		<description>Just to update. I tried this method with the modifications suggested by Etenil for Mediawiki 1.15.1 and it works fine for me. Thanks Raskas!</description>
		<content:encoded><![CDATA[<p>Just to update. I tried this method with the modifications suggested by Etenil for Mediawiki 1.15.1 and it works fine for me. Thanks Raskas!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-41177</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 29 May 2009 08:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-41177</guid>
		<description>I have MediWiki 1.13.3 running. Authentication via remote user only works partially: On the first time I call a wiki-page, I am shown the login page. If I go to another page or simply hit refresh, I am logged in and everything is fine.
Does anybody have a clue how to solve this problem? Thanks a lot in advance.

Regards, Daniel</description>
		<content:encoded><![CDATA[<p>I have MediWiki 1.13.3 running. Authentication via remote user only works partially: On the first time I call a wiki-page, I am shown the login page. If I go to another page or simply hit refresh, I am logged in and everything is fine.<br />
Does anybody have a clue how to solve this problem? Thanks a lot in advance.</p>
<p>Regards, Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Kuszinger</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-38621</link>
		<dc:creator>Robert Kuszinger</dc:creator>
		<pubDate>Mon, 06 Apr 2009 16:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-38621</guid>
		<description>Hello!

I&#039;m trying to set up alternative authentication to a WIKI. I&#039;d like to ask if your solution could work with mediawiki 1.14.
I&#039;ve set up the pwauth recipe, login is successful, however, user won&#039;t be in a logged in state...

If your recipe above works with 1.14 as far as you know, I&#039;d modify it to use pwauth (or whatever) for authentication...

thanks for any help.
Robert Kuszinger</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>I&#8217;m trying to set up alternative authentication to a WIKI. I&#8217;d like to ask if your solution could work with mediawiki 1.14.<br />
I&#8217;ve set up the pwauth recipe, login is successful, however, user won&#8217;t be in a logged in state&#8230;</p>
<p>If your recipe above works with 1.14 as far as you know, I&#8217;d modify it to use pwauth (or whatever) for authentication&#8230;</p>
<p>thanks for any help.<br />
Robert Kuszinger</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Raugh</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-37053</link>
		<dc:creator>Michael Raugh</dc:creator>
		<pubDate>Mon, 05 Jan 2009 16:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-37053</guid>
		<description>Oops -- I should cite the whole platform, I suppose.

Apache 2.2.3
CentOS 5 (RHEL 5 clone)
MediaWiki 1.13.3

My external authentication source is LDAP over SSL, configured via the standard Apache mod_authz_ldap module.  Shouldn&#039;t matter though, as it&#039;s transparent to MediaWiki.</description>
		<content:encoded><![CDATA[<p>Oops &#8212; I should cite the whole platform, I suppose.</p>
<p>Apache 2.2.3<br />
CentOS 5 (RHEL 5 clone)<br />
MediaWiki 1.13.3</p>
<p>My external authentication source is LDAP over SSL, configured via the standard Apache mod_authz_ldap module.  Shouldn&#8217;t matter though, as it&#8217;s transparent to MediaWiki.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Raugh</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-37052</link>
		<dc:creator>Michael Raugh</dc:creator>
		<pubDate>Mon, 05 Jan 2009 16:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-37052</guid>
		<description>Just a report for the good of the lodge, as it were.

I just installed this mod on MediaWiki 1.13.3 using the code from &lt;a href=&quot;http://www.mediawiki.org/wiki/Extension:AutomaticREMOTE_USER&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, which Raskas referenced at the top of the blog entry.

I used Etenil&#039;s tweak to the Auth_remoteuser.php (though there is no usage of &#039;PHP_AUTH_USER&#039; in the version I started with) and I also had to change the ownership of /var/lib/php/session (&lt;i&gt;chown -R apache:web /var/lib/php/session&lt;/i&gt;) to get around an &quot;Error saving session data&quot; problem when trying to edit a page.  

Side note:  once a user has accessed the wiki (and therefore had an account auto-created) you can assign them any group memberships you like using the normal means.  For me that&#039;s editing the user_groups table in mySQL directly, but your methods may vary.

</description>
		<content:encoded><![CDATA[<p>Just a report for the good of the lodge, as it were.</p>
<p>I just installed this mod on MediaWiki 1.13.3 using the code from <a href="http://www.mediawiki.org/wiki/Extension:AutomaticREMOTE_USER" rel="nofollow">here</a>, which Raskas referenced at the top of the blog entry.</p>
<p>I used Etenil&#8217;s tweak to the Auth_remoteuser.php (though there is no usage of &#8216;PHP_AUTH_USER&#8217; in the version I started with) and I also had to change the ownership of /var/lib/php/session (<i>chown -R apache:web /var/lib/php/session</i>) to get around an &#8220;Error saving session data&#8221; problem when trying to edit a page.  </p>
<p>Side note:  once a user has accessed the wiki (and therefore had an account auto-created) you can assign them any group memberships you like using the normal means.  For me that&#8217;s editing the user_groups table in mySQL directly, but your methods may vary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Neelen</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-35702</link>
		<dc:creator>Will Neelen</dc:creator>
		<pubDate>Wed, 05 Nov 2008 13:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-35702</guid>
		<description>FOR RICH

I got this to work on Windows 2003 server running IIS.
It even works if you have multiple domains in a forrest.
Below the configuration for a single domain.

You need to 3 things
1. Set IIS configuration
2. Download Auth_remoteuser_iis.php
3. Add settings to LocalSettings.php

1. In IIS, 
under the website configuration, 
tab Directory Security / 
Authentication and acces control / 
username: your_domain\your_remote_user
password: your_remote_users_password
UNMARK anonymous access
Apply these settings for underlying virtual directories.

2. Download Auth_remoteuser_iis.php
And put it in the extensions folder

3. Add the settings below to LocalSettings.php
Change the variables to:
-your domain
-your DC
-your DNS server
- the remote user account in your domain


# SECURITY section added for SSO
$wgGroupPermissions[&#039;*&#039;][&#039;createaccount&#039;]   = false;
$wgGroupPermissions[&#039;*&#039;][&#039;read&#039;]            = false;
$wgGroupPermissions[&#039;*&#039;][&#039;edit&#039;]            = false;
# Pages anonymous (not-logged-in) users may see
$wgWhitelistRead = array( &quot;Main Page&quot;, &quot;Special:Userlogin&quot;, &quot;-&quot;, &quot;MediaWiki:Monobook.css&quot; );
# Remote_User Auth with MS AD LDAP enhancements
require_once(&#039;extensions/Auth_remoteuser_iis.php&#039;);
$wgAuth = new Auth_remoteuser();
$wgLDAPServerNames = array( &quot;YOUR_DOMAIN&quot;=&gt;&quot;first_domaincontroller.yourdomain.com&quot;, second_domaincontroller.yourdomain.com&quot;);
$wgLDAPSearchStrings = array( &quot;YOUR_DOMAIN&quot;=&gt;&quot;USER-NAME&quot; );
$wgLDAPBindUsers   = array( &quot;your_remote_user_account your_remote_users_password&quot; );
$wgLDAPBaseDNs     = array( &quot;YOUR_DOMAIN&quot;=&gt;&quot;DC=YOUR_DOMAINS_DNS_SERVER.YOUR_DOMAIN.com, DC=YOUR_DOMAIN.com&quot; );
$wgLDAPDebug = 0;</description>
		<content:encoded><![CDATA[<p>FOR RICH</p>
<p>I got this to work on Windows 2003 server running IIS.<br />
It even works if you have multiple domains in a forrest.<br />
Below the configuration for a single domain.</p>
<p>You need to 3 things<br />
1. Set IIS configuration<br />
2. Download Auth_remoteuser_iis.php<br />
3. Add settings to LocalSettings.php</p>
<p>1. In IIS,<br />
under the website configuration,<br />
tab Directory Security /<br />
Authentication and acces control /<br />
username: your_domain\your_remote_user<br />
password: your_remote_users_password<br />
UNMARK anonymous access<br />
Apply these settings for underlying virtual directories.</p>
<p>2. Download Auth_remoteuser_iis.php<br />
And put it in the extensions folder</p>
<p>3. Add the settings below to LocalSettings.php<br />
Change the variables to:<br />
-your domain<br />
-your DC<br />
-your DNS server<br />
- the remote user account in your domain</p>
<p># SECURITY section added for SSO<br />
$wgGroupPermissions['*']['createaccount']   = false;<br />
$wgGroupPermissions['*']['read']            = false;<br />
$wgGroupPermissions['*']['edit']            = false;<br />
# Pages anonymous (not-logged-in) users may see<br />
$wgWhitelistRead = array( &#8220;Main Page&#8221;, &#8220;Special:Userlogin&#8221;, &#8220;-&#8221;, &#8220;MediaWiki:Monobook.css&#8221; );<br />
# Remote_User Auth with MS AD LDAP enhancements<br />
require_once(&#8217;extensions/Auth_remoteuser_iis.php&#8217;);<br />
$wgAuth = new Auth_remoteuser();<br />
$wgLDAPServerNames = array( &#8220;YOUR_DOMAIN&#8221;=&gt;&#8221;first_domaincontroller.yourdomain.com&#8221;, second_domaincontroller.yourdomain.com&#8221;);<br />
$wgLDAPSearchStrings = array( &#8220;YOUR_DOMAIN&#8221;=&gt;&#8221;USER-NAME&#8221; );<br />
$wgLDAPBindUsers   = array( &#8220;your_remote_user_account your_remote_users_password&#8221; );<br />
$wgLDAPBaseDNs     = array( &#8220;YOUR_DOMAIN&#8221;=&gt;&#8221;DC=YOUR_DOMAINS_DNS_SERVER.YOUR_DOMAIN.com, DC=YOUR_DOMAIN.com&#8221; );<br />
$wgLDAPDebug = 0;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-35566</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Tue, 28 Oct 2008 10:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-35566</guid>
		<description>Im a relative newbie with mediawiki and have been given the task of implementing mediawiki, on a Windows 2003 server running IIS, using php and a mysql DB. One of the requirements is that users are logged in automatically to mediawiki via their domain credentials. To be honest im really unsure how to go about this as REMOTE_USER etc that i have seen i believe are not relevant for my specifications. Any help would be a God send!!

Rich</description>
		<content:encoded><![CDATA[<p>Im a relative newbie with mediawiki and have been given the task of implementing mediawiki, on a Windows 2003 server running IIS, using php and a mysql DB. One of the requirements is that users are logged in automatically to mediawiki via their domain credentials. To be honest im really unsure how to go about this as REMOTE_USER etc that i have seen i believe are not relevant for my specifications. Any help would be a God send!!</p>
<p>Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timhessel</title>
		<link>http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/comment-page-1/#comment-30596</link>
		<dc:creator>timhessel</dc:creator>
		<pubDate>Thu, 29 May 2008 12:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authentication/#comment-30596</guid>
		<description>Disregard that last comment, it&#039;s nonsense. I need to look at my code a little better though :P</description>
		<content:encoded><![CDATA[<p>Disregard that last comment, it&#8217;s nonsense. I need to look at my code a little better though <img src='http://www.raskas.be/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

