This is the mail archive of the
cygwin-patches@sourceware.cygnus.com
mailing list for the Cygwin project.
[PATCH]: uinfo.cc or "all commands start soooooow slow"
- To: cygpatch <cygwin-patches at sourceware dot cygnus dot com>
- Subject: [PATCH]: uinfo.cc or "all commands start soooooow slow"
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Sat, 17 Jun 2000 14:38:45 +0200
Hi,
I have just checked in a patch which could eliminate the
"sooooooo slow on start up" messages in the mailing list.
To get full informations about the user, ntsec needs the name of
the logon domain and the logon server. To get that information,
the function `internal_getlogin' calls NetWkstaUserGetInfo() and
NetGetDCName(). If for some reason the machine has no connection
to it's PDC, this may take a while.
I have found that on NT/W2K systems that functions are called,
regardless of the ntsec setting. My patch fixes that.
Corinna