This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Reorganizing internal_getlogin()
On Wed, Jun 12, 2002 at 01:32:33AM -0400, Chris Faylor wrote:
> I tried to keep most of the logic the same but a couple of things
> bothered me in internal_getlogin. They were probably there for a
> good reason, but I changed them anyway.
Yeah, it doesn't work currently.
> One thing that I changed was to not query for a user name if you've
> already gotten the user name from GetUserName. I also changed the HOME
This isn't correct since GetUserName() returns the old username after
impersonating another user so it returns a value but it's incorrect.
Therefore we can't rely on that value in NT. It's just used for 9x
and it's used in NT to get a string for debug_printf.
However, ssh/sshd are still not working. I fixed a stack corruption
problem in cygheap already but I still can't start sshd as service
and trying to login using sshd running on CLI doesn't work, too.
I'm looking into finding the other problem. It's probably another
stack corruption problem.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.