[cvsnt] Re: Patch proposal: $Author substitution with cygwin sshd and RSA keys

Markus Kuehni markus.kuehni at trilab.ch
Mon Mar 22 07:39:04 GMT 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi

So here's the proposed patch for win32getlogin()

Again, I can't test/build it as I don't have MSVC7 (see original post).

Thanks,
Mark

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Tony Hoyle
Sent: Samstag, 20. März 2004 03:02
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Re: Patch proposal: $Author substitution with cygwin sshd
and RSA keys

Markus Kuehni wrote:

> Background:
> Cygwin sshd seems to use a "imperfect" Windows impersonation when using
RSA
> key authentication so cvsnt still gets "SYSTEM" when calling GetUserName()
> in win32getlogin(). 
...

It's better to patch win32getlogin as it's a win32 specific problem.
I like the idea of checking for "SYSTEM" as it's better than previous
solutions.

...


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook