speedup in AD access, thanks

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Feb 28 13:47:00 GMT 2015


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.


HTH,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150228/d7710595/attachment.sig>


More information about the Cygwin mailing list