On Mon, Jun 17, 2002 at 10:42:47PM -0400, Pierre A. Humblet wrote: > At 01:31 PM 6/17/2002 +0200, Corinna Vinschen wrote: > >The original reason was to speed up things in domain environments. > >The local machine has buffered the user information so it's called > >first. Only if that fails we fallback to calling the logon server > >(a PDC probably). This should avoid unnecessary net access. > > > >I'm curious, too, what you mean by "name aliasing". Are you talking > >about having a local and a domain user of the same name? > > Yes, precisely. > > About caching, I did some experiments on NT. > The SID doesn't seem to be cached, in the sense that calling > LookupAccountSid() twice in a row, with the Ethernet unplugged the > second time, returns a failure after a very long delay.
What exactly did you try? My intention was to eliminate a network access in case Cygwin is started on the Windows desktop. No setuid() is involved. So the user information is the one of the currently locally logged in user. This information should be available on the local machine even in case of domain accounts. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.
