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: speedup in AD access, thanks


On 2015-02-28 13:16, Corinna Vinschen wrote:
> 
> On Feb 28 00:51, Denis Excoffier wrote:
>> Hi,
>> 
>> Playing with mkgroup and mkpasswd like others, i also
>> noticed some great improvement in performance:
>> now less than 5min for 404653 entries (mkpasswd -d)
>> and less that 1min for 127048 entries (mkgroup -d).
>> Before it was nearly 1 hour for each.
>> 
>> Playing also with /etc/group, i happened to enter
>> an empty group (i.e. line begins with colon) and
>> e.g. ls -al fails miserably in this case (and segfault
>> seems to lie in cygwin1.dll).
> 
> I'm not overly sympathetic with screwed up /etc/passwd or /etc/group
> files.  In this case it was a missing error check.  I applied a fix
> and the next version won't crash in this situation.

Thank you. In fact i need /etc/group since i want to display
the same group _name_ when i'm AD-connected and when i am not.

Until now i was happy with "Domain Users". From now on i'll use "-".

Denis Excoffier.

--
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]