controlbox2 / siren-of-shame

Automatically exported from code.google.com/p/siren-of-shame
0 stars 0 forks source link

TfsTeamProjectCollectionFactory doesn't seem to preserve domain when using NetworkCredentials #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two user accounts with the same login (ie. "buildagent") on two 
different domains (ie. "tfsDomain" and "localDomain")
2. Log in to computer running SoS as user one (ie. "localDomain\buildagent") 
and set up SoS to connect to TFS server as user two using "Be Someone Else" 
option (ie. "tfsDomain\buildagent").
3. Hit GO Button

What is the expected output? What do you see instead?
Expect to see list of TFS Projects to select from.  Instead, code throws a 
TeamFoundationServerUnauthorizedException at MyTfsProjectCollection.cs:53.  
Examining audit event log on TFS server indicates SoS is failing authentication 
because it is using the wrong domain (ie. "localDomain")

What version of the product are you using? On what operating system?
1.6.4 on Windows 7.

Please provide any additional information below.
Seems to work when the two domain users have different logins.

Original issue reported on code.google.com by Ryan.Mel...@gmail.com on 12 Sep 2012 at 2:27