This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testers needed: New passwd/group handling in Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]