delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/02/12:25:27

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=aH6WQyNDJYM5q6gT0RXg7ZCcUan3DsR60qLvR+3f3lAcJqV7ipwWE
2wOEJx7r+aFDYI81oJsXEpgCJnmC/rkyt3dPn9NHACHG5qkweO2mqQDaTniOFbND
eQwFyS9GMt0dc65v1RvcGHNFcs1aa3Z9XoEq+uYGc9ianZ6Cmo99Ho=
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=fj0BW+Q7bIn26Mx3J/SiSawtE0A=; b=Sr2VClgr06yRDcKopeTIbmTuuu8Y
Hw4nRPLjbbg0sY2bpgcDRDcBBg0AQ8Ji6OOUsBaXwkp0C9lWzQ3cf4CBa5ADZ0gV
sukS1CoziDuvUlD798osfM1N3OAGeUXTx9Co6b1owrqkFhXjdqwUGDH5EjgAda4V
n6iN92QuLVgeJJk=
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: Tue, 2 Sep 2014 16:24:48 +0000 (UTC)
Lines: 16
Message-ID: <loom.20140902T180419-147@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>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> I have no idea what could be wrong in your environment, sorry.

Some more information: up until the check for /etc/nologin everything works.
 Things fall apart when sshd tries to switch to the user logging on.  I've
traced this again, sshd apparently then tries to use the user token to set
the primary group and gets the predictable error "0xC000005B --
STATUS_INVALID_PRIMARY_GROUP".  The 64bit sshd catches the resulting
exception in that same pid, sets errno and then goes on to switch the uid. 
In 32bit the exception winds up in the parent process instead and leads to
the termination of the connection.  The seteuid32 call is never initiated.



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