X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@cygwin.com
From: Achim Gratz <Stromeko@NexGo.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.fsf@Rainer.invalid> <loom.20140902T134545-288@post.gmane.org> <20140902140751.GD6056@calimero.vinschen.de> <loom.20140902T171114-72@post.gmane.org> <20140902153757.GE6056@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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

