delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/06/08/22:36:04

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-ID: <02aa01c0f08c$e6f5a5c0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin-developers AT cygwin DOT com>
References: <000901c0ef4e$904cbe50$6e032bb7 AT BRAMSCHE> <018e01c0ef53$02e833f0$0200a8c0 AT lifelesswks> <20010607155145 DOT A21540 AT redhat DOT com> <009901c0efa2$23f65320$0200a8c0 AT lifelesswks> <15974599808 DOT 20010608103149 AT logos-m DOT ru> <01e201c0f04e$d42f5140$0200a8c0 AT lifelesswks> <20010608214444 DOT K18483 AT cygbert DOT vinschen DOT de>
Subject: Re: dtable changes causing _very_ slow startup and process-startup headache. [was Re: auto-import ld]
Date: Sat, 9 Jun 2001 12:35:51 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 09 Jun 2001 02:26:45.0284 (UTC) FILETIME=[A0A7B640:01C0F08B]

----- Original Message -----
From: "Corinna Vinschen" <vinschen AT redhat DOT com>
>
> I'm in a workgroup either and I have a 2nd box which is a domain
> member. Both boxes don't have the delay. Could you please debug
> that further?

Sure. The long delay occurs on security.cc:230, the call to
 NetServerEnum(NULL, 101, (LPBYTE *) &buf, MAX_PREFERRED_LENGTH,
&cnt, &tot, SV_TYPE_DOMAIN_CTRL, primary, NULL).


I have no other MS machines on my LAN, or in the workgroup. Further to
that MS networking services such as the computer browser and "Server"
service are not running on my machine. (Funnily enough I like having RAM
from my use :] ).

I suspect that the NetServerEnum call is forcing the redirector to try
and find a MS Networking server by broadcasts :[.

I'm not quite sure what assumptions are made in the code about how the
get_lsa_srv_inf funciton operates ... but I wonder if it's possible to
optimise out this call if the (username's domain is NULL ) || (the
username's domain == machine name) ?

Also, from memory (need to go to the office to confirm) NT and 2000
always have a net use connection to the logon server, we might test for
that?

Rob




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019