This is the mail archive of the cygwin-patches@cygwin.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]
Other format: [Raw text]

Re: Reorganizing internal_getlogin() patch is in


Hi Pierre,

On Tue, Jun 18, 2002 at 12:15:50PM -0400, Pierre A. Humblet wrote:
> Could somebody with only a domain account try the following 
> program? It's quick and dirty, you have to type the logonserver
> and user names in the program. Compile with -lnetapi32 .

I know where I can test this but it will take a few hours.
My own machine is not even domain member.

> This would just be curiosity, to see if Windows does any
> caching. In the case of setuid we are looking up another user. 
> Looking up domain accounts on NULL fails. 

Hmmja.  I suspect you're right and it's not worth to keep
the NULL call in the code.  On standalone machines the logon
server is the machine itself and the call is unnecessary, too.

I'm going to test your small testapp as soon as I can.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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