]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commitc2a4d23786f7f2b5d0babb9a5732a621b9e7d445
tree5b855eb5d65dae21c82ca71b258d739eaa08ee56
parentef886e4d178b824eb677bbd1f524650e91aa1f44
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@8909 cda61777-01e9-0310-a592-d414129be87e
config.c
settings.c
windows/winmisc.c