From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id B1EEA384F480; Sun, 4 Dec 2022 13:28:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B1EEA384F480 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670160502; bh=8pvJKY2MvrYPIubykaPl83StXrvFA7ynNwpcg68czzg=; h=From:To:Subject:Date:From; b=cAvv1oJM5EViWJ08BF6leUjdaNsd+r5n4yBewT8NcTZlliaROGbmwT7yr4ci2tBDa /sJppDpYsDfeOpHxeOUXOGDmvBsFfzIGPDWSJyt7JlQpW2Er2sReEw+juv6w6CyENq eNPFaAr56Ui9i5Xot5TN8Vmbp8wUvxqLzcRrPi8A= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: drop special handling for SID authority 18 X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: df680fb62df0bb0f30e7fda6ab0adc713937cb54 X-Git-Newrev: 7d2c5efffa87d233f40c3d0c220fd4041b68b08d Message-Id: <20221204132822.B1EEA384F480@sourceware.org> Date: Sun, 4 Dec 2022 13:28:22 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D7d2c5efffa8= 7d233f40c3d0c220fd4041b68b08d commit 7d2c5efffa87d233f40c3d0c220fd4041b68b08d Author: Corinna Vinschen AuthorDate: Tue Nov 15 21:52:28 2022 +0100 Commit: Corinna Vinschen CommitDate: Sun Dec 4 14:03:02 2022 +0100 Cygwin: drop special handling for SID authority 18 =20 This was only required up to Windows 8. =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/uinfo.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 2dd0c6e79da3..30df6db6d8a3 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 =3D SidTypeUnknown; } - else if (sid_id_auth (sid) =3D=3D 18) - { - /* Authentication assertion SIDs. - - Available when using a 2012R2 DC, but not supported by - LookupAccountXXX on pre Windows 8/2012 machines */ - uid =3D 0x11200 + sid_sub_auth_rid (sid); - wcpcpy (name =3D namebuf, sid_sub_auth_rid (sid) =3D=3D 1 - ? (PWCHAR) L"Authentication authority asserted identity" - : (PWCHAR) L"Service asserted identity"); - acc_type =3D SidTypeUnknown; - } else if (sid_id_auth (sid) =3D=3D 22) { /* Samba UNIX Users/Groups