Created
May 14, 2026 06:47
-
-
Save tevkar/dab3fb32346f6899e11e374f254746e9 to your computer and use it in GitHub Desktop.
cygwin - drop MACHINE+ prefix for local SAM accounts on domain member machines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/winsup/cygwin/uinfo.cc | |
| +++ b/winsup/cygwin/uinfo.cc | |
| @@ -2386,8 +2386,6 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, bool ugid_caching, cy | |
| else if (!wcscasecmp (dom, cygheap->dom.account_flat_name ())) | |
| { | |
| posix_offset = 0x30000; | |
| - if (cygheap->dom.member_machine ()) | |
| - fully_qualified_name = true; | |
| is_domain_account = false; | |
| } | |
| /* Domain member machine? */ |
Comments are disabled for this gist.