Item8724: Plugin fails
Priority: Enhancement
Current State: No Action Required
Released In:
Target Release: n/a
I have installed the
ModifyLoginPlugin on Foswiki 1.0.9; however the username case does not change ( I am changing it to lowercase) in IE8. I am authenticating against an Active Directory using mod_auth_sspi module of Apache.
--
GuruprasadIyer - 18 Mar 2010
I need a little more information.
Are you saying that the username does not change to lowercase only in IE8?
Is it the login that does not change or is it the registration page?
Any other special things you run like fast CGI or mod_perl?
--
KennethLavrsen - 18 Mar 2010
In Firefox, the username anyway gets displayed in lowercase even without the plugin; however in IE8 the it is not so.
Since we are directly authenticating against the AD there is no registration in the wiki.
No, I am not using fast CGI or mod_perl
--
GuruprasadIyer - 18 Mar 2010
Big mystery thinking about how the plugin actually works.
Can you give a few more details?
You say there is no registration. So I assume you do not run with
TopicUserMapping where a login name in
WikiUsers is translated into a wikiname.
How does a login name look like? Can you give some examples?
Do you run under Windows or is the server a Linux / Unix machine?
I am asking all this to be able to reproduce the issue.
The plugin is very very basic and relies on a core feature so if we have an issue it may be in core.
I made the plugin because I had the issue that users logging into Foswiki via plain Apache mod_ldap could get authenticated no matter what case they use for the login. But Foswiki
TopicUserMapping is case sensitive. So with my plugin I could ensure the login IDs are always translated to lowercase.
I really wonder why your case does not work. It should.
--
KennethLavrsen - 19 Mar 2010
I figured out the issue! The plugin was not working since I had set {Register}{AllowLoginName} to false. Once I set it to true, things work fine.
However, since there is no registration happening in the wiki why do I need to set {Register}{AllowLoginName} to true?
--
GuruprasadIyer - 30 Mar 2010
Yes. The purpose of the plugin is to modify the login name. If you have not enabled login name this plugin does nothing. We do not want it to modify wikinames.
--
KennethLavrsen - 09 Aug 2010