From: Corinna Vinschen Date: Tue, 15 Nov 2022 20:52:28 +0000 (+0100) Subject: Cygwin: drop special handling for SID authority 18 X-Git-Tag: newlib-4.3.0~121 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=7d2c5efffa87d233f40c3d0c220fd4041b68b08d;p=newlib-cygwin.git Cygwin: drop special handling for SID authority 18 This was only required up to Windows 8. Signed-off-by: Corinna Vinschen --- diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 2dd0c6e79..30df6db6d 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -2578,18 +2578,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"); - acc_type = SidTypeUnknown; - } else if (sid_id_auth (sid) == 22) { /* Samba UNIX Users/Groups