delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/03/13/11:14:20

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 62DFEKUr888714
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 62DFEKUr888714
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=vr1YbYrK
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 806014B358B4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1773414858;
bh=s9Pvc9ioDOJCYv4fWruYyUwDLII9jopqRB9pqTxdU08=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=vr1YbYrK+KBmKFweHv0Y40W9ACghzZZFOiy8LcEuG1xkKFTSxQ+gLs4tKTR3jG2s+
L6SD7Y0cxHkdRMHBJzD+PJ78blpv5WL4DZ3VAPaxv3vFgxlpuwYgi+t7BUQj+BRo3d
YqusF6A1YBz0WscnTTQAcm7gVfd4VGUcq5Suh9AA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3726F4BCA407
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3726F4BCA407
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1773414810; cv=pass;
b=Z5YRgkT9ypSUM8cSBjooy1BGDKRhWPUTJCchBfstTCW6pR7yEe8cbVg7XSKAjitEoqkix91CpYvS6lA5GbAxB5nGMOaRqNCwy0I6nj0Ve6A6JY3rJnIfEszTVjGdL8JP/7yvFbHegSy4DCjkFcRvum23/QQ9MeUUcF4IGVRzTis=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1773414810; c=relaxed/simple;
bh=qTWIwLVD29xYRnqOStNdHtjgnyu7hdamgik5SyjHPhk=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=aKRsa3bJ3OnAEHmF5K+Mu2fb6Js/YEaODAgmS28y3T4UFbJMHlZYBUw6/ci7F5t6YrIs3Js3ATjvcunm0LoiPAmA2upjsd4PouEQwGuUD9EvQWU8ex3xEqFJNudLBY6OXWcXT5YWDB1NeVYluYlRl/RtrmF6KQGCcbaOEyW6SHk=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3726F4BCA407
ARC-Seal: i=1; a=rsa-sha256; t=1773414809; cv=none;
d=google.com; s=arc-20240605;
b=EwGza8F5c8938PsWPeVugl1FmO4RJR+yoTNYTfJ/QVvquf4+osulEbFfAgHBg7fQPZ
7Hxa+SRfwVxEgNxtfHdhG7M+GNTt5TclzJWrOo9wO++ZuDI6XL9oMvRnjDxoDNmzUx++
6zsHrD4cIlbkNw3WpV8YMq8NOCZ6A/F7kgZQVDCThT/wVYJUbH5EBF/uFFaMC1LMpxRS
1ZAccTqtKpQpZfRhNMjUI2wboiiQ0jIE+7lLK6ghdxgdo5pT66TEI2/0Hkd7YgNasU16
qHMHbcwE3EyqgW9a06CzrxxvmjQDNa0O3MlF5qlI5kWCOYxIiAVeCw7Vcw7QleUdbQDy
d9kg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=Qobs3SmAsH2iO7Fru5cI8vHq+XayPd6iJQdtUzeG6xc=;
fh=UKNFaOBO97U3RYl3PEse//nArTqr7SLJjCCEBz281Ew=;
b=fV4SzT7GnRXGpdfbDO//mEqEnUlQ8EYq9E1cBMeBWOZ19FZTn4BYMo/RP17ICDxw/S
46tBX7J8VkECxguhbvBNNQznKgEv1rtFfNs+kZn94viRQARol2Uj0oN31IeHO+dMmq9n
eDMarSy/Uj8tdQRUBoeWnPAexUG7TFrRj7ZEgP127jY2edRfSzz31ufd34bXcWI7lkVW
sS3Tjq/DgqLF0st/fn+WaNZVycY8DYzkA7mBMFjeKKL8KdGIYFLYHft1tHk42jl2VO6j
O31nE/cmYtEUumNV99+qh/LDW+cMIzsf/zE8Dm5CyUy3k/RIPh4Va1sBwUZTk6BkWgyP
09/w==; darn=cygwin.com
ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1773414809; x=1774019609;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=Qobs3SmAsH2iO7Fru5cI8vHq+XayPd6iJQdtUzeG6xc=;
b=JrGACWVQAfivgWnER4TC0CstPOmR3KmWsJvCf3/fs6BhPosr3zwLJEmV+DtfWocd+9
EO5AnE1t91dpZGapVu+jwxIMif7XG8sm75Kes4WgAVIOOnkBSs8DSYh3/JPR2c4sp38Q
MxZt2caCzPxllnhkEcqb6RD9LDGLoOxikw7irHP9/YBLQoZsbFUqCn4HEQ8+hPzqeCZb
0dQAt2EHa7uNZUPiFRWyMM4tESvxRsa3LQrdAe7fXfrQCI0DogGz4TrkWFQnidDk9aRU
n2QpoAlnTD2aWrSMPgmbXFys+aMf6Knq7aRCIOuYpxIGVB/9fcUcDBhop/iya841f4tP
baEw==
X-Gm-Message-State: AOJu0YzQuOp2nwFWQjahmAFIS7dlweU83ZHoSRHGP7GZgT8TDYhYsD85
Ljt7oi9AFYx4K/TzieCKjaGzlcYrhib0ouI2OT718Qxu93YLF8OfO81NqP8caoW95Dc8JTrHfdf
sx4ZI6wzFFTyfLap6fIkyyoDENeW8BxKFhQ==
X-Gm-Gg: ATEYQzzTYqn5c3kiNWO5WHP0GNbBAYTq8mHb5A9B9q71r+hfRL/pYJ/9aZ7OHHuCKM+
foMLu/JYFLK5cP7xvpcnjPAl7fQ0Lhi1TJA/EY+/zrq2wUN2tgE1cM6HfzucsbJPLXEtusQq/OI
Y0xUCHVlNj6u2d3hfi2mbiGLRrfdKc9LLtp+AY+GTfREbrnkMc1upgMlmOKcmaGJUrllw6pBqHD
rU/dZZrSNNnY9xoC3sfbHrJvdv6+0KyTVZBPBvtu1RuMGHawPSCFO9L/QLuaoZvh13RGwZVGjCJ
iBO21t4z
X-Received: by 2002:a17:907:e2dc:b0:b97:6d1b:4be8 with SMTP id
a640c23a62f3a-b976d1b6ddemr147284466b.10.1773414808314; Fri, 13 Mar 2026
08:13:28 -0700 (PDT)
MIME-Version: 1.0
References: <CANH4o6P07DG5XcSooXkAE5ShWkkz1hVBSMn6k2iaLycSEEA_0A AT mail DOT gmail DOT com>
<CA+1jF5oHw71rv-OH893R+DdNpnRUQAtp=WS_fXvxe1WBsC0H6w AT mail DOT gmail DOT com>
<abGHUBD2oHK6bo5K AT calimero DOT vinschen DOT de>
In-Reply-To: <abGHUBD2oHK6bo5K@calimero.vinschen.de>
Date: Fri, 13 Mar 2026 16:12:51 +0100
X-Gm-Features: AaiRm53vvtC2GdeaGEDnLNitdeIPpQi5TnCVJDOvF7HNtBui4ajcABSkdoi9CnE
Message-ID: <CANH4o6POu0kb3ngs+=2-Cg5EZ9maHFa7isvt0POvud9oARnd5w@mail.gmail.com>
Subject: Re: HYPER-V VMs: Cygwin /bin/getent group 'Virtual Machines' cannot
find the group
To: cygwin AT cygwin DOT com
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Martin Wege via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Martin Wege <martin DOT l DOT wege AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 62DFEKUr888714

On Wed, Mar 11, 2026 at 4:17 PM Corinna Vinschen via Cygwin
<cygwin AT cygwin DOT com> wrote:
>
> On Mar  3 09:26, Aurélien Couderc via Cygwin wrote:
> > On Mon, Mar 2, 2026 at 8:19 PM Martin Wege via Cygwin <cygwin AT cygwin DOT com> wrote:
> > >
> > > Hello,
> > >
> > > we use HYPER-V virtual machines on Windows 10 and Windows 11. It seems
> > > they use a "special" kind of group called 'Virtual Machines', which
> > > Cygwin (3.6.5) /bin/getent cannot lookup:
> > >
> > > getent group 'Virtual Machines'
> > > <nothing>
> > >
> > > Does anyone have ideas or clues how to get getent group to work with
> > > this kind of Windows group?
> > >
> > > We want the Cygwin gid for that group, and use Cygwin commands to work
> > > with those files...
> >
> > Déjà vu
> >
> > 1. Please read https://cygwin.com/pipermail/cygwin/2025-July/258505.html
> >
> > 2. Try this:
> > getent group "NT VIRTUAL MACHINE+Virtual Machines"
> > For me, with default (empty, except comments) /etc/nsswitch.conf, it
> > does not work. Which I consider a bug.
>
> It's not a bug, it's a feature.  Truly so.  Keep in mind that there's
> no easy translation from arbitrary SIDs to 32 bit uid/gid values and
> vice versa.  So every time, Microsoft adds YA arbitrary SID not following
> the already implemented and supported schemes, the bijective mapping
> has to be implemented manually.
>
> Done in the main branch.

Thank you!

Martin

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019