Windows Server 2012R2 64bit and 32bit Cygwin sshd
Fri Sep 5 11:56:00 GMT 2014
On Sep 5 13:16, Corinna Vinschen wrote:
> On Sep 4 14:12, Achim Gratz wrote:
> > Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > > > I couldn't start cygserver as a service with (just) the built DLL in place.
> > >
> > > No idea why. The patch just adds debug output to strace ouptput, nothing
> > > else.
> > Whatever. I've installed all the binaries from that build and things work
> > normally now.
> > > > So I started it in debug mode from the command line (which makes it have
> > > > less rights than it needs) and started the sshd in debug mode also.
> > >
> > > In a cyg_server GUI session? If so, you should have all rights required
> > > when starting this in an elevated shell.
> > Not the token privileges, I don't think so. But I'm not sure how to check.
> Windows whoami /all
> > Here's the salient parts from the strace (attaching to the sshd running as a
> > service in sandbox mode, running with no privilege separation produces a
> > slightly different trace, but the events leading up to the error are the same):
> > [...]
> > 44 5026498 [main] sshd 2248 get_user_groups: Before NetUserGetGroups
> > --- Process 2248, exception 00000005 at 75511D4D
> > The process apparently gets killed while in the NetUserGetGroups call (much
> > as you suspected). I'm not sure this tells us anything new, though. :-(
> No, it just confirms it.
> Please remove the debug_printf patch and try this instead:
> Index: sec_auth.cc
For simplicity I added this experimental patch to the snapshot I just
uploaded to https://cygwin.com/snapshots/.
Please give it a try.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Cygwin