Reorganizing internal_getlogin() patch is in

Corinna Vinschen cygwin-patches@cygwin.com
Wed Jun 19 00:18:00 GMT 2002


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.



More information about the Cygwin-patches mailing list