speedup in AD access, thanks
Denis Excoffier
cygwin@Denis-Excoffier.org
Mon Mar 2 18:43:00 GMT 2015
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
More information about the Cygwin
mailing list