From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by sourceware.org (Postfix) with ESMTPS id 88E423858D20 for ; Tue, 20 Feb 2024 16:24:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 88E423858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 88E423858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::236 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708446275; cv=none; b=jC814wRSlhMZNYuICwHnVcSLcNm+irGYG3Oo5EsvCiStrWRUtrjyYHVTp839BhgdSLFLL2pANn6HlUHEkHzySDCom7rdFzqQ+fA8xQU6U8cebmCrIJZGO0AspFPKMJ91NZ0bPR6Rj+f9wDr0wB2aXIsy0tVzsYI2BtcEjmS5ZtU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708446275; c=relaxed/simple; bh=yeIPnbVGdYwz5LMoYNo8iiKtqQDy17jXLXwnAU13J1Q=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=sLNi1EGvIG/0ryywCI1ZSAQzAJcNelfoHDBvI4of/N9EsYP3f6VUbvYmEKIhwecTcVzIUpeeW6m4rVEn/YzF72Zu7a7E/lFKtjxf3OwUdWX3c/ot/IEzWqgGRSOSGphtasXux4vUjdZu0qpoX2LTQnuZWlXeu+pcgcSv8AKu1sI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2d243797703so21707931fa.3 for ; Tue, 20 Feb 2024 08:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708446271; x=1709051071; darn=cygwin.com; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=NmqDeyznazFsi3LnM1holA5C9nDyTgMwI/8TSQLi+nM=; b=QVJqMC7g8yks+Qkr5vbFj+DpIFfebC0JK0A2xEuBtYvPB9a3o5obK2Rehnkn7ySc4g EF/SRaXzMHlqL9LS9ZoSi3dqKTihk5vpMDxzMuzv/hrZl3tnlHEhfeHPv/cls6f860mF RCpz8ofs/CtpwwlOS1FozkUiQzxd0jrcHAYQEHSi1VSdAGH2r10Vq2UYIecyot3nyyal O3C3sdnxos2qWqWnwKMZOUEL4QPdCOAlwLXUvyoLvt4DolvSyy8eZKXDCLnf/jFTADrU IspCPmaaRztIZrBPfiEO0mADCt0B8I2c8sp3otN69IM/DW9hq8hiMuitxDbuCLvndSAj 61zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708446271; x=1709051071; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NmqDeyznazFsi3LnM1holA5C9nDyTgMwI/8TSQLi+nM=; b=QYKS9d5z+CDxdhfQE6KW0Dvx4qR/h1ZF/IUr7d37Z7JY5lyYv/3jFokJLtkv9+6mFF Lx5aTks2BR4OHWfSBQULfPLwqDOfHth86so87UJ5Ep9kPT/q1OOf3j3yOjJX8kwpLgxK QpdEQukpRs7og2c0jQBc7euE76eSy3DOWhlKe8utEDF/8iuB/pW2tzCufhIXFA/vl4tM 4d8z6WEVfvctkfoeqD+mxVVciGjrV2Y7rYyjsb9dLTbb3QNepD/fEMIa693Ua+UsQ4m4 Lt5Fb5hCoInkixEcn1iv1S6UJK3Cf5XmcvbE9Dp9Fb5B1BaCLh098uOO8njLPW7S/ZLm xIww== X-Gm-Message-State: AOJu0YxoIhY4X5jITSAk6Tir27dCWf/V5vyj22sq8ky1UvipxiZ2ZEz1 7DBi0eSdPh0tLIEMlpwymMX4SrQ8J1LRioUzxzDn91Ue3WuYGD9J6Wdn7DKUlmmpmR90UATPENP JbD729MWfqL09c0v6+9Y4di0oU9njZ8YIR+c= X-Google-Smtp-Source: AGHT+IEOOTJW8AIMDst2rVeEPZRlgMESz+UuQY5xFM4Yy5tDztyyvCyNMhS+qspnHA/uBV6GCRXppWWPp6AJQPEFwZE= X-Received: by 2002:ac2:446d:0:b0:512:bf09:5ea9 with SMTP id y13-20020ac2446d000000b00512bf095ea9mr2642952lfl.63.1708446271310; Tue, 20 Feb 2024 08:24:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dan Shelton Date: Tue, 20 Feb 2024 17:24:00 +0100 Message-ID: Subject: Re: BUG: Cygwin getent group refuses to list group added with net localgroup mygrp1 /add To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 20 Feb 2024 at 10:57, Corinna Vinschen via Cygwin 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 Dan -- Dan Shelton - Cluster Specialist Win/Lin/Bsd