windows-afscreds-username-20080212
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 12 Feb 2008 13:16:20 +0000 (13:16 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 12 Feb 2008 13:16:20 +0000 (13:16 +0000)
commit512ec8f51880d4e9e1cc5564bd27991a2c2915d6
tree1359571f0a8e6d8a09a21dfabb73ab608c2ae155
parent7a8d8da95f5bd23fbb97d93840f3a2c5a145a695
windows-afscreds-username-20080212

LICENSE MIT

Use GetUserNameEx to obtain the username instead of searching the registry.
Try UserPrincipalName first and fallback to SamCompatible.
src/WINNT/client_creds/NTMakefile
src/WINNT/client_creds/window.cpp