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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=AI1LYIm7mSALIMFnCxTylp9yzaCs 7eMNaiu4khhDDxPPd6vFfQP9mOA+JcoUrYFJq6M9vFBC0YsbYdTVPMsPCINp5IK8 aOPn3T9lqXIZYrfXj5iVDalAvFr1ou/suIMFpY8UCLrxpnzOe/GMpxgDazsdusKw bpa94s+1Jps7ouM= 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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=XBXcHaNiInZOiHH9lbOaNkob1v4=; b=cV tUrSsIZ1yMr2qE/D3+g8RBmcx7lnUDBot11iAfX+RHg5lH6aIBM3LnF5eGcl7W3Z 46gpvlOB+7mcFJN8MOZp7Yi6uOay+MyeXc0IwoBgo6qAUjha/541jQpXcyIvRguE GfhENtRXxXX1jOiIcBRrUaSbf5wgIpFv4DywnGog0= 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: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: smtp5-g21.free.fr Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: speedup in AD access, thanks From: Denis Excoffier In-Reply-To: <20150228121642.GU11124@calimero.vinschen.de> Date: Mon, 2 Mar 2015 19:43:15 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <20150228121642 DOT GU11124 AT calimero DOT vinschen DOT de> To: cygwin AT cygwin DOT com 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