X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=Dua+iQHnfyRq3o33sCGN/AKHI6ZaU0uCLP7z9tEWi2hs1o7qKGVUP UkFUKZc1GNwURbnkjo4lk9JMD0whPa8oshifw0OsznGVUkJBJ2dnWePJLKgKzcew MXgFKn+1MOdMhcBKwCSqIkNcCmPQGteSZcDqFppTo+AHpTUMe5N5xk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=l3b6XyEnpUYaO+WNdtg5yIoc0i4=; b=v7Dj2U3HuY+V9WH5VOM2Ago0fgRR DwKuvnAM3EAADwEn3CAtz1E2ml3HUQ4YjYh2kC31u7Km87YYfgiEpIT3DfFBKZe5 VA4qPGvjDQ0LF9Tmp+2OPbU1qXh2fDlEQo8+h05IerNGiSJZq6YBBxdcc4NsPuTA dEO7PKE813A+1tY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: Testers needed: New passwd/group handling in Cygwin Date: Tue, 11 Mar 2014 07:44:52 +0000 (UTC) Lines: 40 Message-ID: References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <87fvn7cb68 DOT fsf AT Rainer DOT invalid> <20140225200414 DOT GA4238 AT calimero DOT vinschen DOT de> <20140310181339 DOT GF28681 AT calimero DOT vinschen DOT de> <87mwgxsyac DOT fsf AT Rainer DOT invalid> <20140310191603 DOT GH28681 AT calimero DOT vinschen DOT de> <87iorlsvvn DOT fsf AT Rainer DOT invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Achim Gratz nexgo.de> writes: > IIRC, the next call is the write that prints "no" or "yes"... there may > have been something like "stat_helper" inbetween only on Cygwin64, but > I'll have to check again tomorrow. It's a call to stat_worker with the UNC file path and the stat_worker handle, both times returning zero. There is only one interesting difference between the release and the snapshot DLL, they are reporting the atime to be different: st_atim=531DE525.1B5BB150 (release) st_atim=531DF887.5D9B9F8 (snapshot) Whatever differences there are probably inside stat_worker, but I don't really know. I've just found out that cygcheck cuts off the group listing after exactly 16kiB. Maybe there are some other places where it's now possible to overrun some buffer (pwdgrp::fetch_account_from_windows has got all of them according top the trace) or maybe some other limit for the number of groups? The group that grants access is number 293 in the list as returned by id... I've also found that two trusted domains aren't returning an entry for cyg_ldap::fetch_posix_offset_for_domain from the DC I'm assigned to, so that probably explains the long startup times I've been seeing with earlier snapshots. Maybe of interest: 987 1803457 [main] perl 6856 alloc_sd: uid 1124017, gid 10513, attribute 0x2190 860 1804317 [main] perl 6856 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-2052111302-842925246-682003330-75441 (+) 877 1805194 [main] perl 6856 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-2052111302-842925246-682003330-513 (+) 827 1806021 [main] perl 6856 alloc_sd: ACL-Size: 124 934 1806955 [main] perl 6856 alloc_sd: Created SD-Size: 200 Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple