delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/18/09:11: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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Fec+DIzNe05qE8BXTLnD8bV6adw/zHM70CQ2VwaXjURAWvdn/UIpT
0cnK/MP8mc8A+4Q7X8QfueNZyl9tYSijBopKG3ouNBO5fbRDHVheQA9oq+g8TXGw
R3W0HHadbF6BrA18ZYuw0EVE8o0kZTMgeqtPfFkOfuQdTEADf41ueU=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=SF1dJ2XIpMpvn83NIGlMYqzkFPA=; b=xG3mYQapdMOAq5hIqCmZJ/+JXNO1
IgMkQdH3Azlp/yGUW+lBrGhRS56qdqbKV9AQg6KUtA/5A4ndZEm5RuadNw7BCUhq
W4X3V3pQGRkly0F5D+aRgLfaPzpA1xcOoF/qomqw+QjZpZhWwmAbkVNTKvy5fJEt
d52ONWysfUYkTAI=
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-Spam-SWARE-Status: No, score=-100.4 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=sshd, Problem, ssh, connect
X-HELO: mout.kundenserver.de
Date: Mon, 18 Feb 2019 15:11:11 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with sshd on W7 with 32bit cygwin 3.0
Message-ID: <20190218141111.GZ4256@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20190218105842 DOT GA1050 AT GIOVE>
MIME-Version: 1.0
In-Reply-To: <20190218105842.GA1050@GIOVE>
User-Agent: Mutt/1.10.1 (2018-07-13)

--c7rykKtsZvepKFKR
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 18 11:58, Enrico Forestieri wrote:
> After upgrading to cygwin 3.0.0 (32bit version) on W7 64bit, it is
> not possible to connect using ssh. The returned error is something
> like "Connection closed by x.x.x.x port 22".
>=20
> I also tried the 2019-02-18 snapshot without success.
> However, simply downgrading to 2.11.2 fixes the issue.

I tested this myself and from what I can tell, Microsoft didn't
implement S4U for local accounts on WOW64 on older OSes.  If I
start a 32 bit sshd from an Windows 7 64 bit WOW64 environment,
then domain accounts work fine using kerberos S4U, but for local
accounts with MsV1_0 S4U the underlying Windows function returns
STATUS_INVALID_PARAMETER.

Note that this works fine in Windows 7 64 bit with 64 bit Cygwin.  It
seems only older WOW64 environments (maybe even only in W7) didn't
implement this.

Two workarounds for now:

- Start sshd as 64 bit Cygwin process.
- Utilize https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--c7rykKtsZvepKFKR
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxqvP8ACgkQ9TYGna5E
T6B4aQ//UWuzOAAgWNQQt6iPqFPxGtJbx9SKnvSOpByGhysyKfAv13tmTuCeNwhQ
74qLLYw9Zc3JjupJYolahxNFi+rf9R0qqobIWy4sDHYbgkmQ3nunkbAdSvnoer9r
XnRCw2AQlz4S6AKGqBwO6Is+dxDjm0Mmu83kJjZUzpg8Ibnty38Lp17GijchxImg
mB8VwuB6UUm3xej7FhGfYF5bvm3sIGUqD3zw1wPAzELi7pPon/mBOZ4HRyLIhN/4
kEwpaLPBweYx/Khif390O4mY7beFVIAeq1qA6t9yQTqOlrpeqharaLh/AJPRfME2
kp7awjmPGeDCm9XgeB+Fr3glyEw1BX6psBqaL2pagKA7biPZZQiGw7x8WcNDyTgC
+YjhNxEo4K4axQYm+yIw6rCBtIbuEPUp+EJln+2KswVdCeCpPCBJlbHxojkYFqNd
zmUl7pdM1HbuALRSkl/4rSLX6IxhbanZv1q3aX4OLjFQUU5cQ1kU7+TNlK7WV/pi
5VevTx46k+H4KBbSt/NTTz2eIHdh0FoWdMvMm96ICuzfOVxspHUcxDfLqKbqJwAE
q+p05Vho1lM2py0Hn6iACyjiN0/2f4e17SUxoiAwOPm3z1Vq4m/MqO6inMeWm4yT
0SWdOwaGSiQSP8YLoLd+nQLGwKwy7Rm19TLw8852xvmFX8J4npk=
=9dr6
-----END PGP SIGNATURE-----

--c7rykKtsZvepKFKR--

- Raw text -


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