aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-11-15 21:52:28 +0100
committerCorinna Vinschen <corinna@vinschen.de>2022-12-04 14:03:02 +0100
commit7d2c5efffa87d233f40c3d0c220fd4041b68b08d (patch)
treeb6f6d772c9cbe232a8188d02b64beb1eec5aca40 /winsup
parentdf680fb62df0bb0f30e7fda6ab0adc713937cb54 (diff)
downloadnewlib-7d2c5efffa87d233f40c3d0c220fd4041b68b08d.zip
newlib-7d2c5efffa87d233f40c3d0c220fd4041b68b08d.tar.gz
newlib-7d2c5efffa87d233f40c3d0c220fd4041b68b08d.tar.bz2
Cygwin: drop special handling for SID authority 18
This was only required up to Windows 8. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/uinfo.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index 2dd0c6e..30df6db 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