Windows Server 2012R2 64bit and 32bit Cygwin sshd
Corinna Vinschen
corinna-cygwin@cygwin.com
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.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140905/2f9aa542/attachment.sig>
More information about the Cygwin
mailing list