X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4E3E38582A7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1709029076; bh=EWVNXAVjnTQLemg88kwdQsi1wywqh8Vj/FDa7pvR12w=; 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=UdJLi/3OMNEw7r0K+es9OBTb6PnsnX0WG8d+deMo5gtHL6Dts+vhCkKQ7Zyh8PfLE 39+7he0Cq1KCzqEg49eUXEoW5TEIOr2WqslQHSPHfFEVy7dyFk3skGH/0VdLs3JvRO hfUG5ZjGrvTb3pWkS0yLsi/WiDJmIWyacjyLJCD0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D038B3858C78 Date: Tue, 27 Feb 2024 11:16:53 +0100 To: cygwin AT cygwin DOT com Subject: Re: passwd/group/grent fixes for Cygwin 3.5.1? Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Feb 27 04:21, Dan Shelton via Cygwin wrote: > On Mon, 26 Feb 2024 at 10:18, Corinna Vinschen via Cygwin > wrote: > > > > On Feb 26 04:44, Dan Shelton via Cygwin wrote: > > > Hello! > > > > > > Can these 3 commits please be backported to the Cygwin 3.5.1 branch? > > > > > > 4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local > > > enumeration...commit | commitdiff | tree > > > 4 days agoCorinna VinschenCygwin: getgrent: fix local SAM enumeration > > > on domain...commit | commitdiff | tree > > > 5 days agoCorinna VinschenCygwin: passwd/group: drop Capability > > > SIDscommit | commitdiff | tree > > > > Did changing db_enum in /etc/nsswitch.conf help on your test machine? > > Yes, just adding "local" to db_enum worked, but it is not much of a Thanks, good to know. > solution since I need Administrator rights on the target machine, > which is not going to happen. If you're not admin, why do you have to enumerate accounts? This is usually not an action required by standard applications. > Why are local groups excluded by default? Because enumerating local group means to enumerate the entire AD group list on DCs, which is not feasible in some scenarios. And there is a way to configure this by changing /etc/nsswitch.conf. If you need this on machines you're not admin of, why not just ask the admin to enable this? 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