delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org AA82F3858283 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1708679332; | |
bh=ID2a4TCJe0S+V7BdPyt0JtLxc7cgJTV4WXgstz3TVd0=; | |
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=TAubvkqE3KMeMwMgok4fC6J0L8mBDbMtGf8Du4JEIbUBMClqsk9xecpwi3RXDvkex | |
7RdVov2rZBCMB7q+sb6PIVeEYu4bH+z8zNgboJ+MYZ3mZnxjJJMl872igZNktXh3qP | |
itT+qv4EAkleKQMEsZLLtzPXSc4b22zsSrAkkqmc= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 401CE3858436 |
Date: | Fri, 23 Feb 2024 10:07:45 +0100 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: BUG: Cygwin getent group refuses to list group added with net |
localgroup mygrp1 /add | |
Message-ID: | <ZdhgYc_NSbtXRhGq@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAAvCNcCriA7Ys8t5KXKBNUPyq6W7sRm76Bq44e4ju114EdTeVA AT mail DOT gmail DOT com> |
<ZdR3c53yV23etK7l AT calimero DOT vinschen DOT de> | |
<CAAvCNcA7c+9eAwo2XabOF-qiw8Yr7Hpp0KMgV9GVVMb9y1UkmA AT mail DOT gmail DOT com> | |
<ZdUPXS9CSpe7GeNw AT calimero DOT vinschen DOT de> | |
<CAAvCNcBoECzpC-18gczd5BL1A4ScQyJP2GX5WPLYSWBk9dzDcQ AT mail DOT gmail DOT com> | |
MIME-Version: | 1.0 |
In-Reply-To: | <CAAvCNcBoECzpC-18gczd5BL1A4ScQyJP2GX5WPLYSWBk9dzDcQ@mail.gmail.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-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
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: | Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Feb 23 09:10, Dan Shelton via Cygwin wrote: > On Tue, 20 Feb 2024 at 21:45, Corinna Vinschen via Cygwin > <cygwin AT cygwin DOT com> wrote: > > > > On Feb 20 17:24, Dan Shelton via Cygwin wrote: > > > On Tue, 20 Feb 2024 at 10:57, Corinna Vinschen via Cygwin > > > <cygwin AT cygwin DOT com> wrote: > > > > > > > > On Feb 20 05:13, Dan Shelton via Cygwin wrote: > > > > > Hello! > > > > > > > > > > I think I found a rather nasty bug: > > > > > 1. Add a new group with "net localgroup mygrp1 /add" > > > > > 2. Then list all groups with "getent group", the new group mygrp1 will > > > > > not show up. "getent group mygrp1" will list it, but this is useless > > > > > in my case, as I need the group listed by "getent group" > > > > > > > > I guess we can rule out a domain controller but is this a standalone > > > > machine or a domain member machine? > > > > > > Standalone test machine, stock Windows 10 installed 2 days ago, > > > current patches, Cygwin 3.5 from 2 days ago. > > > > > > > > > > > What's the setting of your /etc/nsswitch.conf? > > > > > > Only comments in that file, i.e. empty > > > > Please set the db_enum: line to > > > > db_enum: all > > > > and try again after exiting from the shell window. Have a look at > > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch > > for the settings. By default account enumeration only returns > > the bare minimum for speed. > > > > Btw, there *is* a bug in that code, but it affects only domain > > menber machines, afaics. > > I saw you did a couple of commits related to "getent group". Is any of > these commits fixing the problem that a new Win32 local group created > with "net localgroup mygrp1 /add" does not show up in the output of > "getent group"? Did you read my previous reply and tried what I wrote? Corinna -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |