This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Testers needed: New passwd/group handling in Cygwin
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Tue, 11 Mar 2014 07:44:52 +0000 (UTC)
- Subject: Re: Testers needed: New passwd/group handling in Cygwin
- Authentication-results: sourceware.org; auth=none
- 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> <loom dot 20140310T181432-804 at post dot gmane dot org> <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>
Achim Gratz <Stromeko <at> 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