You are here: Foswiki>Tasks Web>Item1816 (15 Mar 2011, GeorgeClark)Edit Attach

Item1816: Remove the DOMAIN\ part in the username

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: PlatformWindows, LoginManager
Branches:
Reported By: FallBack
Waiting For: Main.SvenDowideit
Last Change By: GeorgeClark
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. wink


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 frown, sad smile

-- CrawfordCurrie - 30 Jul 2009

ItemTemplate edit

Summary Remove the DOMAIN\ part in the username
ReportedBy FallBack
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component PlatformWindows, LoginManager
Priority Normal
CurrentState Confirmed
WaitingFor SvenDowideit
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r8 - 15 Mar 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy