This is the mail archive of the cygwin-patches@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]: uinfo.cc or "all commands start soooooow slow"


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]