]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: drop special handling for SID authority 18
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 15 Nov 2022 20:52:28 +0000 (21:52 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 4 Dec 2022 13:03:02 +0000 (14:03 +0100)
This was only required up to Windows 8.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/uinfo.cc

index 2dd0c6e79da3b8333bb3cbe53350a127af5b069f..30df6db6d8a328ef0342089e639f4ec39d5d7ce9 100644 (file)
@@ -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
This page took 0.035892 seconds and 5 git commands to generate.