X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A90EE3858428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1709473575; bh=2XRMWfBQQDP94rSkajFf+TATXcgH6NaVqlOYUGD+VH8=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=fcQyoVeSv5NxrpmTLVLKsilniRZSbVVIl+uTdvTY3z64J9X1UZO6wbcSewoCUvUHO g2PbhIz1IO9zhuc/IBZ0BKTbNSjwjfHFONPny6uJSMjIEFrZ7aYKjlEOTg5+NxioUe CQq4gwZ2gzpQvGFPbq0i52F2syDVVn2BCMblb/WU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9F2F93858C56 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9F2F93858C56 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709473527; cv=none; b=eIVFFrX7LWqGtmm5g0+QNpRtjUVa0dJU0nRhn+uEW88nQyR87ENmrKuek/6vc+Nvehoqk8kADgMzEMC4P8iGfq+e+1i/iokZpXxwdNJmfPC17IN//6r96aU6a/KZzJKyI9XJSBesOKtx270HfqDAgPrDOUm1x5rdbXpO+rILRxs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709473527; c=relaxed/simple; bh=FW4wPpfhT72jgL7CxOES7a7IYvJ/5MHs/nJHi+Pu9D4=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=fLAQ4rMFm9kkarTJZeTntu6NBhGuUbdfbwJcd6rjKWmh0i+e/dLL9LvkkjJoQ08oX6YiPyJirwS9vMFJsGXvC4hgNUiUM9eG55Osz7xfJisNx2nL30nN6+euD25oh7B4roDCHAPJiL0mitiE7Sx1Q6dWlhqd6nN1CVTyPcpHlVg= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709473520; x=1710078320; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FW4wPpfhT72jgL7CxOES7a7IYvJ/5MHs/nJHi+Pu9D4=; b=EmDGf5O7QRbVjQbdodJfKL4/ecY42eb8Je5MXE081Xj/cJw3M6ty9RcRd0BYWQlUXS nk46v5sjjEy7u9L2ikSmAezK3rrUEfpuF/P4lDptYZhpZ8S434vfctlMoWDWz3vHvlhc xgDmTNvn8R0+w7YHXAPJRFvSaIOih2FPwZB6L/vfJahiz2uied8DQLFYf6MgMCFfr6dz aS0oayjlPqWEMKyrzyUXC9gRI/PLoIed6Xit9m6ZHkqfclO6PQl0HvDCd6mV3g9rVSAi cUpZu4BRivB7Z712qNelKdtlF94n7NMzLV9sH5GqTION6CjTRIVPY9EhpaLr1qL+juKc 7AJg== X-Gm-Message-State: AOJu0YwPyAGOPOdOqMqynhWRk92K+ZPMOI1UYdOrSWI/yIZ4e85T/lTK ZCMUoKHSEQ6PdInQiG2QwFZ/ToqNqiozc9liZ48iYQGfINpdcaPqRdOcVeHJ7YdK4OjQp154PpO k4NyqYtdxZh+hMVJWuATbWBxfWtRZQYyTG2I= X-Google-Smtp-Source: AGHT+IF/okDe/uAvVtA6VcH6gcdNX5wVS/aeSP7aWuf5oNLm3QLoKZ8uZH3i/9RxiUPTonKmcVp7fF7e3BPD71KnNz8= X-Received: by 2002:a17:906:80c5:b0:a45:2090:f8d2 with SMTP id a5-20020a17090680c500b00a452090f8d2mr738800ejx.63.1709473519794; Sun, 03 Mar 2024 05:45:19 -0800 (PST) MIME-Version: 1.0 Date: Sun, 3 Mar 2024 14:45:08 +0100 Message-ID: Subject: UNIX nobody/nogroup mapping to which Windows SID/account? To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-0.4 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Martin Wege via Cygwin Reply-To: Martin Wege Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hello, How can we map UNIX "nobody"/"nogroup" to Win32 SIDs/accounts? Cygwin has entries for "nobody" in /etc/passwd and "nogroup" in /etc/group, but these accounts have SIDs returned by /usr/bin/getent passwd and /usr/bin/getent group which LookupAccountSidA() does not recognise. So what is the correct Win32 solution? Thanks, 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