Item1816: Remove the DOMAIN\ part in the username
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Under Windows NT (2k, XP, Vista, 2k3, 2k8), especially Windows Active Directory, the username has a prefix of the current domain.
The username then looks like DOMAIN\administrator.
If you try to create your own userbar or your own site, you have to create a Web called Main/DOMAIN, that's really bad and it makes alot of problems with the user access, cause of the slashes in the username and in the web.
There is a fix described in
http://foswiki.org/Support/Question172 which removes the DOMAIN part in the username. Everything works normal after that.
It would be nice, to see this fix as an option in the
LoginManager or somewhere else.
For all those poor Windows Users out there.
As far as I get it this only happens on an IIS. Does
REMOTE_USER
also have DOMAIN\ in it using Apache? If not then there should be a searate
IISLogin similar to the
ApacheLogin manager instead of adding these exceptions to the ApacheLogin manager for
IIS.
--
MichaelDaum - 10 Jul 2009
yes, it happens on apache too
--
SvenDowideit - 29 Jul 2009
What's even worse is that the Windows Mini-redirector
assumes your login ID is in a windows domain, and prepends the domain name whether you want it or not. There's no alternative for the server but to recognise such manglings and remove them
--
CrawfordCurrie - 30 Jul 2009