This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: speedup in AD access, thanks
- From: Denis Excoffier <cygwin at Denis-Excoffier dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 2 Mar 2015 19:43:15 +0100
- Subject: Re: speedup in AD access, thanks
- Authentication-results: sourceware.org; auth=none
- References: <CE10AFCD-35CB-4BF6-BEAF-89FDC4E903A1 at Denis-Excoffier dot org> <20150228121642 dot GU11124 at calimero dot vinschen dot de>
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