Cygwin: Accommodate logon sessions on Windows 10

Starting with Windows 10, LookupAccountSid/Name return valid
info for the login session with new SID_NAME_USE value
SidTypeLogonSession.  To return the same info as on pre-Windows 10,
we have to handle this type.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-08-28 11:26:52 +02:00
parent 3aba266aa9
commit 03cd2c4efa
2 changed files with 34 additions and 1 deletions

View File

@@ -78,3 +78,6 @@ Bug Fixes
- Fix handling of unknown accounts in file ACLs. Add name->SID
conversion for (most) self-constructed account names.
Addresses: https://cygwin.com/ml/cygwin/2018-08/msg00295.html
- Correctly handle Logon Session accounts on Windows 10.
Addresses: Found during debugging