Artifact 69698c82a3d996df074f38c2572e168439c144a5:
- File windows/winmisc.c — part of check-in [2080e9716a] at 2010-03-24 15:12:25 on branch trunk — 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. (user: jacob size: 8378)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.