From 5712bf2300d8e5c53faaa79cc93638ea772ec305 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 15 Nov 2022 21:52:28 +0100 Subject: [PATCH] Cygwin: drop special handling for SID authority 18 This was only required up to Windows 8. Signed-off-by: Corinna Vinschen --- winsup/cygwin/uinfo.cc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 35d9c12cd..0fe104c13 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -2631,19 +2631,6 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap) } acc_type = SidTypeUnknown; } - else if (sid_id_auth (sid) == 18) - { - /* Authentication assertion SIDs. - - Available when using a 2012R2 DC, but not supported by - LookupAccountXXX on pre Windows 8/2012 machines */ - uid = 0x11200 + sid_sub_auth_rid (sid); - wcpcpy (name = namebuf, sid_sub_auth_rid (sid) == 1 - ? (PWCHAR) L"Authentication authority asserted identity" - : (PWCHAR) L"Service asserted identity"); - fully_qualified_name = false; - acc_type = SidTypeUnknown; - } else if (sid_id_auth (sid) == 22) { /* Samba UNIX Users/Groups