Extension talk:IIS REMOTE USER AD-LDAP

Removing Logout button
Adding the following code to the extension should remove the logout button:

function StripLogout(&$personal_urls, &$wgTitle) { unset( $personal_urls["logout"]); return true; } $wgHooks['PersonalUrls'][] = 'StripLogout';

Problem with MW 1.11.0
having updated to MW 1.11 I have the problem, that I can't edit any of the pages. --Jperl 14:21, 13 September 2007 (UTC)

Preferences not setting
I have this working and logging in, I can edit pages, etc. The main thing I see, is that it is not setting the preferences. I have added additional debug statements, and I do not see where the initUser function ever gets called. I an new to MediaWiki, so I am most likely just overlooking something, but i'm not sure. - Shane

Current work
Anyone working on that?

Merge with LDAP Authentication plugin
You really should look at merging this plugin with the LDAP Authentication plugin. I plan on integrating specifically this type of functionality in the next release, so you may just be spinning your wheels here. I'd say make a patch right now, but I need to modify the plugin a little to make the auto-auth stuff a little more generic. I'll try to finish that sometime soon. --Ryan lane 20:55, 21 March 2008 (UTC)

Also... Your code isn't GPL compliant. You need to include the license, and you should give attribution to the original code (some of my plugin's code is copied line for line). --Ryan lane 21:02, 21 March 2008 (UTC)

thanks
Just wanted to say thanks. This is working for me (and no problems with prefs or editing). Version 1.13.3.

1.18.1 Problems
I've been using this in:


 * Windows 2003 (iis 6)
 * MediaWiki 1.14.0
 * PHP 5.2.9-1 (cgi-fcgi)
 * MySQL 5.1.32-community

Had no issues. I tried to upgrade to 1.18.1 last night and it no longer behaves correctly. I'm either getting "Unexpected REMOTE_USER authentication failure." or "HTTP 500". Strange thing is that it did work for the first few min, then got the HTTP 500. Went to another computer, it worked for a while, then "HTTP 500". Seems like a session thing... But I can't figure it out. Can anybody lend a hand? Maybe there is another extension that is more updated that will work better? Thanks!

More info: the auth plugin DOES work when using 1.18.1 and IE6, just fails on IE8 and Firefox. It does work on 1.14.0 and IE8.