This is the mail archive of the cygwin 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: Cygwin v.1.7.1/OpenSSH v.5.3: Userswitching by using LSA Authentication does not work...


On Jan 28 11:18, Carsten.Porzler@spb.de wrote:
> Dear Cygwin community,
> 
> after I get the new OpenSSH v.5.3 run with key-authentication (without 
> password), I realized today, that the user switch does not work with the 
> LSA Autentication on a Win2008 64-bit system.
> 
> If I run the whoami command (Windows) it shows the user, which the SSHd 
> service runs on, but not the logged in user. It the situation, as if I do 
> the login without the LSA Authentication Package. Using the LSA 
> Authentication should show the correct logged on user. Under Win2003 
> (32-bit) it has now worked for over one year.
> 
> But: The cyglsa64.dll library is loaded using the ...\LSA\Authentication 
> Packages value within the registry. In fact, I really see the loaded DLL 
> by using Process Explorer. If I remove the DLL-path from the LSA value 
> within the registry, nothing changed. The login is possible further on.
> 
> How can I make the Windows 2008 64-bit system to use the LSA 
> Authentication Package correctly?

Ouch, I just reproduced this issue and all I can say is... ouch.

The problem is that the 64 bit version of the DLL has to be rebuilt
manually when the Cygwin version bumps.  At the time I created the
cyglsa package there was no Mingw 64 bit compiler available so I
used VC++ to build the 64 bit version.  However, I entirely forgot
about this problem when we bumped Cygwin to 1.7.1.

So the answer is, there is no way to get this working on 64 bit Windows
right now, other than to rebuild cyglsa64.dll manually under Cygwin
1.7.1.  I'll look into fixing this for 1.7.2 at least.  Maybe I should
remove the version lock.  There's no big chance that the communication
between Cygwin and the LSA package will change any time soon.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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