]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
When looking for a local username on Windows, if we can get hold of the
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 24 Mar 2010 20:12:25 +0000 (20:12 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 24 Mar 2010 20:12:25 +0000 (20:12 +0000)
commitc18b150623eaeb3a142b23fd02574ff643412e59
tree5b855eb5d65dae21c82ca71b258d739eaa08ee56
parent4a8c45f9f7a2082807e6266b52e92ae87437fd53
When looking for a local username on Windows, if we can get hold of the
NameUserPrincipal, use that; this avoids an issue with SSPI/GSSAPI where
the user logged in to the local machine with a different case of username
to the (case-sensitive) Kerberos username. Falls back to GetUserName as
before if that doesn't work (for machines not on a domain, and Win9x).
Based on a patch by SebastianUnger.

[originally from svn r8909]
config.c
settings.c
windows/winmisc.c