Actions:
|
2015-09-19 07:01 AEST by Glen Starrett - Trying to login with SSPI as user "grs" under Win10 fails:
C:\Users\gstar\Desktop\SmTestImp>cvs -d :sspi:grs@localhost:/myrepo rls
SSPI Login failed - [80090308] The token supplied to the function is invalid
C:\Users\gstar\Desktop\SmTestImp>cvs -tttt -d :sspi:grs@localhost:/myrepo rls >
login.txt 2>&1
C:\Users\gstar\Desktop\SmTestImp>cvs -d :sspi:grs@localhost:/myrepo login
Logging in to :sspi:grs@localhost:2401:/myrepo
CVS Password:
cvs [login aborted]: authorization failed: server localhost rejected access to
/myrepo for user grs
C:\Users\gstar\Desktop\SmTestImp>cvs -d :sspi:grs@localhost:/myrepo login
Logging in to :sspi:grs@localhost:2401:/myrepo
CVS Password:
cvs [login aborted]: authorization failed: server localhost rejected access to
/myrepo for user grs
C:\Users\gstar\Desktop\SmTestImp>cvs -tttt -d :sspi:grs@localhost:/myrepo login
> login.txt 2>&1
C:\Users\gstar\Desktop\SmTestImp>cvs -tttt -d :pserver:grs@localhost:/myrepo
login > login-pserver.txt 2>&1 |
|
2015-09-19 07:02 AEST by Glen Starrett - Created an attachment (id=2878)
SSPI login attempt trace
Let me know if you need a server trace on this one - I'm not seeing much in the
standard trace. |
|
2015-09-19 07:02 AEST by Glen Starrett - Created an attachment (id=2879)
PSERVER login (success)
Successful pserver login with same user, for reference. |
|
2016-12-15 12:19 AEST by Arthur Barrett - I need more info on this:
1. is this a server or client bug? i.e.: can client on W10 connect to server on S2008R2 OK using 'single sign
on' SSPI (e.g.: on a domain)? And what about vice versa?
2. I'm going to temporarily assume this is a server bug - in which case we also need to test it on S2016.
If it's a server bug (not client at all) then what's the relationship between this and bug 6042 and bug 6038.
Basically the plan for CVS Suite 2.8.02 is to run the server service as SYSTEM again (based on Glen's testing
- I think it's in Bug 6042). I think we change some of the new settings and then it works all the time as
SYSTEM (but it won't work on W2000 or maybe XP - but that doesn't matter for 2.8.02).
So if you set those settings, and change the server service to SYSTEM - does CVS Suite 2009R2 on W10
actually work as a server? If so then this is just a dupe of 6042.
|
|
2016-12-24 02:44 AEST by Glen Starrett - Created an attachment (id=3089)
Notes on source and workaround for SSPI login problem while logged in as MS
account
I found the source and a workaround for this problem while doing additional Win
testing in Oct:
Problem: When I am:
• Logged in as a MS account (user@email.com)
• Using a CVSROOT like :sspi:otheruser@localhost:/myrepo
Then I see this in the event log that there was a failed login attempt
for "MicrosoftAccount\grs".
Workaround: Use this as the CVSROOT instead:
:sspi:COMPUTERNAME\otheruser@localhost:/myrepo
|