X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=PCvG3GH mGLdjj88S0NFPzI0fBPNWnk/LDo6XIYi4gudkL9qlqxIZTyZkcEZtFB5zIHPhFny ya8CKCO/eAVGex9bQx1JWKfSy3/WnBCez4pbaLOziokDiZ1RBCtQ/lXMTAwoJmoy O5QwPMWQMHgR1FUWhfSJqERAYyCIE8BZ8fgE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=3ykUSYaa4PsSo eYAVuB7ueMEq4o=; b=vud9BTzbzdzCD22U0RtEhF4fVIFU4DfOkQ9fk+Vn14Fh2 9th4PHVv6RVrQA5Gyn8LurZq2ArEqU18RNhlaXI5M2lALLWeJ5tw+KmukZRn8paP gk5BqRz1kqmd8sP9rtARzmvD9o1NfwXVQq8dMRJdl1TBTweT4dxPKFvOKgWEmY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-vc0-f178.google.com X-Received: by 10.52.249.40 with SMTP id yr8mr12119347vdc.10.1424721083395; Mon, 23 Feb 2015 11:51:23 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20150223174709.GB26549@calimero.vinschen.de> References: <20150220102927 DOT GR26084 AT calimero DOT vinschen DOT de> <6695-1424465180-282140 AT sneakemail DOT com> <20150223111721 DOT GH437 AT calimero DOT vinschen DOT de> <9116-1424712152-918733 AT sneakemail DOT com> <20150223174709 DOT GB26549 AT calimero DOT vinschen DOT de> From: rexdf Rexdf Date: Tue, 24 Feb 2015 03:50:43 +0800 Message-ID: Subject: Re: TEST RELEASE: Cygwin 1.7.35-0.3 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Can everybody fix permission about groups. Now I accidently try cygwin 1.7.35-3 and cannot install 1.7.33-1. It fail about cannot find _fset** in libint-8.dll. The minty cannot start. So I have to use 1.7.34-6. And its permission is broken. So ssh,scp,git etc do not work. Is there any solution to solve the ssh problem ( including git etc)? 2015-02-24 1:47 GMT+08:00 Corinna Vinschen : > On Feb 23 10:22, John Hein wrote: >> Corinna Vinschen corinna-cygwin-at-cygwin.com |cygwin_ml_nodigest| wrote at 12:17 +0100 on Feb 23, 2015: >> > Come to think of it, it's probably really just slow. The difference >> > between mkpasswd/mkgroup for domain accounts: >> > >> > 1.7.33: >> > >> > Calls NetUserEnum/NetGroupEnum,NetLocalGroupEnum with maximum Buffer >> > size. >> > >> > 1.7.34+: >> > >> > Calls an LDAP enumerator fetching 100 SIDs per call. >> > For each SID: >> > Call LookupAccountSid. >> > For each User: >> > Depending on nsswitch.conf, call LDAP to fetch the extended passwd >> > info (pw_shell, pw_home, pw_gecos). >> > >> > I guess there's some room for improvement. >> > >> > OTOH, keep in mind that you're not suppsoed to call mkpasswd/mkgroup >> > to enumerate your entire organization. If you're using it at all, then >> > only to create the required entries in /etc/passwd and /etc/group for >> > your local acocunt to work, and then leave everything else to the "db" >> > setting. >> >> Fair enough. I'll stop stress testing mkpasswd and consider this >> closed unless there's something we want to try. >> >> But 1.7.33 seems much faster (if you can call 50 minutes fast) at it >> than 1.7.34-6 or 1.7.35-0.3 in this large-ish AD. Maybe a knob to >> specify buffer size and/or some other knobs might help identifying the >> slowest parts (and/or some stats). Just a thought. > > I'll have a look into improving the stuff for sure. I think this > requires to limit the number of LDAP calls in the first place. Rather > then fetching SIDs only, the enumerator should fetch all required account > information immediately, so the number of LDAP calls will be > > #accounts / 100 == 80 > > rather than the today's > > #accounts 100 + #accounts == 8080. > > The extra 8000 LookupAccountSid calls would go away, too. > >> I'll add that the 1.7.34-6 'strace mkpasswd -d' that I had started >> above finished in 20+ hours and spewed ~3500 of ~8000 entries. > > It may be a restriction on your server. There're often settings > limiting the number of calls per client. > > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Maintainer cygwin AT cygwin DOT com > Red Hat -- 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