DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4A9GXVSf3203547 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 4A9GXVSf3203547 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=CGs7kS6Y X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 333FD3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1731170009; bh=VU0ccK7EAxoSb5G8CppKobVBPzyuYWUbf+uq5a3HCYs=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=CGs7kS6YdZSki6UYzejysifYWvF6nrumC1bZZHEhA931NO3G/W5K/FcBmyRiaqXSO r4nKcCWWJwyouUA3BL43Ojn/okhHZYqU4bH4Sie8hsZa4NHufOiHSvj2RvJ8UQvdT/ vcHizj+eIqjirq/5bGMDb5B1enrrWFx7JvHbDOos= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 93FD03858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 93FD03858D20 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1731169951; cv=fail; b=sdF8hk1qeNOeLFE9LA9P6o0be13P1UAKYxaoSgnJLMLy3KM+F3n/USOSHkfBkqr/eAilgwTkWYotxDbCaDboW9XY3E6FRiEPKLH5BDOCUBzQagI3dPsG0SToS4bAlnoWZTZqlcFChpfv3YtpaGlN8eka6VNg6G00uYrisUsiyVI= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1731169951; c=relaxed/simple; bh=T7mXfGe8PLj8sIVRwyk1/mZGrSWXXCA2Gt/Eh9dZUkE=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=oYX/Mt3O76FBVnI8ITHQJTe6xkJIm89tKsTxjwfKQoSjSsq+5Syb6Ao/poEKh58LTPRirVTY17OmSifeRBRoSkZYAItI9mm/ZzE8jsCbxjHQ57DKMHXsTFGFQxmqb0tymDqyw0yYjhwBLGsBPE72hoGFNI9ajx7TgI8RXeLyG6M= ARC-Authentication-Results: i=2; server2.sourceware.org X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1731169946; a=rsa-sha256; cv=none; b=NSntf8WWJ+WDXrDSOp2Wyle1cWHg8yJti0fAxNzjzi40lCMByW1pmq/IsPeUHn5K+IGEMD dhPUiAJed334NXkMwVEnTl8pvnPO3AMGUyGe7sjwTAh6BWlQAWB4q9HzLFD111zfYQEw8q 8SzT3gnmedkWesPKlyz7O97J6R0t8KalcTbVvIzflTzjPn2Az63YduTO3ti6slJhai++9E +YNjnD1rSWvZwrZTdBNYRIz+iEPfsRbiNE2DRwMoUmt/oU50XMgRDG1Kvexf+FoI2qXEQZ E9/SKjpf6VekdDfvrEHVRXnn9AqYoKEUfOtKAetoDlSiQrVHNVoZvrTklALCSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1731169946; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=S8FD3w4nMDGd9Q0SSoCn1bu/73E57HVfqQsbZyZD83g=; b=DklOM4ynzYrMEhmrdlXbt4MsUyvfyMy37Gc7U2K9lvIlDiPYIoua98gwpQaP2f3xW1EPHe IrMulBxzjl126gs3o29Xhz/zpNFhdX4y7Ve0WO07349k4TmktmZ4TfFY0Kp5IOvWOZkC2X Uc9/QJB4A8Ol6talbYsqwCk4the6eZj22uFN24K6TluE5gpKMzu1aQkS3bSqWvE268wVOI cZNxt0zKfwnSyM2Yt6CXN8DPUbkCLXG05guHjws5FeWoEvpsI85sNJ0VhABPuK/3DpOLIE lUzTBgbtg2ZeRaZea2RbTX+yCb/ELGehlUXdEdfYSJHQ2m6yNLx2yxrSNcjzTQ== ARC-Authentication-Results: i=1; rspamd-5b688f746d-fz9t8; auth=pass smtp.auth=dreamhost smtp.mailfrom=roland DOT mainz AT nrubsig DOT org X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|gisburn AT nrubsig DOT org X-MailChannels-Auth-Id: dreamhost X-Attack-Dime: 3c72413a5cc83ada_1731169947130_2179502166 X-MC-Loop-Signature: 1731169947130:2216232276 X-MC-Ingress-Time: 1731169947130 X-Gm-Message-State: AOJu0YwfF2ZBYF3UooV6h2RthEqX53Wn9Ov8hyu1XiMnYDl38omNKd6d MR7xIqenYkGueapyTo4zG35pDD/Abjt8VVVVGwuX9POWiVD8kwURUkr5r3GJyS/tLmiPF9CjE2p vR2m1S3HgB//fAwzO3rAfIssyyts= X-Google-Smtp-Source: AGHT+IFKZc195pnTWqou10/O633qqdqFioDN8irLpiMFhscHePLuEFyn4moE4/d/gBtH/jrpARCpS+CEyiRAQr5ZPPs= X-Received: by 2002:a5d:6d85:0:b0:37d:4e03:635c with SMTP id ffacd0b85a97d-381f1721413mr6574517f8f.21.1731169945496; Sat, 09 Nov 2024 08:32:25 -0800 (PST) MIME-Version: 1.0 Date: Sat, 9 Nov 2024 17:31:59 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Stable SIDs for "None"+'"Administrator" ? 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Roland Mainz via Cygwin Reply-To: Roland Mainz Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hi! ---- Does anyone know a list of SIDs which can be used to get the user+group accounts for passwd entry "Adminstrator" and group entry "None" ? Our problem is that the actual account names vary with the system locale, e.g. group entry "None" is "Kein" in "de_DE", "Aucun" in fr_FR etc. ... ... so far we thought we fixed this by doing a lookup via SID, and then remembering the localised name. But: The SIDs are apparently not stable between Windows versions. For example: ---- snip ---- # Windows Server 2022/en $ getent group None None:S-1-5-21-168624908-967194555-3343779530-513:197121: # Windows Server 2019 $ getent group None None:S-1-5-21-3286904461-661230000-4220857270-513:197121 ---- snip ---- And if there is no such list, would $ mkgroup | egrep ':S-1-5-21-.+-513:' # be a suitable workaround ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- 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