delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/03/03:18:39

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=nRHDoOaqD3zT+Q3vqKUiRK8LNOKNYUvl8XMtDctP5E2tf2ndwGI+P
+LZfwAgosfxVdfllwhQ33LbaPFHnhjT+evM6vL3BS3qdvivjLl5RLMDoeedMjVTf
W1QuFqh6WwT3ya3goHGOamuCvGQddDflcJGtE6jEZST29AHoIACoXQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=/T0GdYzht12Vobfcut7DaWratCM=; b=rAvSoeUxHLuStaUhd8tze2En3NiG
LjmgmABG75mqORU0MRS4IpXHQDKdyQogbQC80pbBIS0WeEpSouSvWgwYxjrfWnvl
uSpM7TwsPp0XL0QNxsb2VqEeQbomL+z/jhkDc82Bh+Wm3HJVPLAmWi+PjkNfkK9v
1fdjBx1ACYc6lCQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2 autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: Windows Server 2012R2 64bit and 32bit Cygwin sshd
Date: Wed, 3 Sep 2014 07:17:04 +0000 (UTC)
Lines: 26
Message-ID: <loom.20140903T084528-450@post.gmane.org>
References: <8761hphfps DOT fsf AT Rainer DOT invalid> <loom DOT 20140902T134545-288 AT post DOT gmane DOT org> <20140902140751 DOT GD6056 AT calimero DOT vinschen DOT de> <loom DOT 20140902T171114-72 AT post DOT gmane DOT org> <20140902153757 DOT GE6056 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> Don't use privilege separation, then the non-privileged sshd user won't
> matter at all.  Privsep on Cygwin is only half-useful on Cygwin anyway,
> if at all.

I've switched privilege separateion off completely, but no dice.  The Access
Denied comes from trying to switch from primary group "MACHINE+None" to
"Domain Users".  That is expected to happen, what I still don't get is why
the parent process winds up with the exception instead of the originating
process as on 64bit.

> As for the local cyg_server account, I'm not sure.  Usually,
> a local machine account has no or only limited access to AD information.
> As an account which needs AD to get user information it's a bit
> unfortunate if it doesn't have access.

When the process comes to this point it has already verified the user via AD.

> The strace shows that it doesn't even *try* to start bash, but it's
> entirely unclear why.

Is it possible to run sshd in gdb?


Regards,
Achim.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019