delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/20/16:41:29

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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=i+9cNbv+Th5QddKHjUvON9MS/5ZMLINzqaONaLNcvLe52GRTQiYXz
OFZkrRMh3X28oV3vhgRkUESyAz7sj2JyKuSHb4BjA2DZ0GEthFFz3IDr+7lgwji5
GBH2jikIG0qUZn43sPa+7gObZwgvD3PukTqiJZmY0lFlj/eVJHJ5mk=
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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=CdeciAR8tHj0aHyaFyM2hzfB8eI=; b=VdCTxpDxQezQdlo9uldLBC/jfObr
joFBNerAhvPpIKwq8roFc4wMNlFf5OXtIsy91tVIJFbrmpbMAex4RCT+JXKHYN3V
mfSvjRpfJuIyohlfys+fD9rmw02bT0If+r+fecmIz30qlc19pmF1V17Dm0OY9OLC
NaQetu1MMl/aZMA=
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=-105.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=
X-HELO: mout.kundenserver.de
Date: Wed, 20 Feb 2019 22:41:08 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Houder <houder AT xs4all DOT nl>
Cc: cygwin AT cygwin DOT com
Subject: Re: cygwin 3.0.1-1 breaks my sshd install
Message-ID: <20190220214108.GZ4256@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Houder <houder AT xs4all DOT nl>, cygwin AT cygwin DOT com
References: <19759126 DOT 568100 DOT 1550686604174 DOT ref AT mail DOT yahoo DOT com> <19759126 DOT 568100 DOT 1550686604174 AT mail DOT yahoo DOT com> <alpine DOT DEB DOT 2 DOT 21 DOT 1902201038580 DOT 32163 AT ckhb05> <47883ab06634fed3ecdaa375016dc3fb AT smtp-cloud8 DOT xs4all DOT net> <20190220202536 DOT GX4256 AT calimero DOT vinschen DOT de> <0a2366b9de0f65ed912d41c2ee040f4a AT smtp-cloud8 DOT xs4all DOT net>
MIME-Version: 1.0
In-Reply-To: <0a2366b9de0f65ed912d41c2ee040f4a@smtp-cloud8.xs4all.net>
User-Agent: Mutt/1.10.1 (2018-07-13)

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

On Feb 20 22:35, Houder wrote:
> On Wed, 20 Feb 2019 21:25:36, Corinna Vinschen  wrote:
>=20
> > Sorry guys, but I can't reproduce this problem at all.  I tested ssh
> > login on Vista, W7 and W10 1809, in each case on 64 bit and under
> > WOW64.  On all systems I can login with domain as well as local
> > accounts.
>=20
> Understood.
>=20
> > For completeness sake I started sshd under SYSTEM as wel as under
> > cyg_server account and every time it just worked.
>=20
> Mine runs under cyg_server
>=20
> > The only reason for failing logins coming to mind is the case of
> > the usernames.  It must be written *exactly* as returned by
> > `getent passwd'.  I.e.:
> >=20
> >   $ getent passwd | grep -i foo
> >   MACHINE+Foo:*:197608:197121:U-MACHINE\Foo,[...]
>=20
> Understood. And not the problem at my side. Also I am using local
> accounts.
>=20
> Failure starts w/ cygwin1-20190126 ... 0124 works ...
>=20
> Your commits on 0126:
>=20
> 2019-01-26      Corinna Vinschen        Cygwin: seteuid: use Kerberos/MsV=
1_0 S4U authentication...
> 2019-01-26      Corinna Vinschen        Cygwin: uname: Raise size of utsn=
ame fields and revamp...
> 2019-01-26      Corinna Vinschen        Cygwin: netdb.h: fix __GNU_VISIBL=
E tests
> 2019-01-26      Corinna Vinschen        Cygwin: create_token: Return NULL=
, not INVALID_HANDLE_...
> 2019-01-26      Corinna Vinschen        Cygwin: syscalls.cc: fix formatti=
ng
> 2019-01-26      Corinna Vinschen        Cygwin: lsaauth: Drop outdated te=
st for loading Secur32.dll
>=20
> Last commit:
>=20
> Cygwin: seteuid: use Kerberos/MsV1_0 S4U authentication by default
>=20
> - This simple and official method replaces cyglsa and "create token"
>   methods.  No network share access, same as before.
>=20
> - lsaauth and create_token are disabled now.  If problems crop up,
>   they can be easily reactivated.  If no problems crop up, they
>   can be removed in a while, together with the lsaauth subdir.
>=20
> - Bump Cygwin version to 3.0.
>=20
> -----
>=20
> Perhaps I missed something in the last couple of month. Did I have to cha=
nge
> something in the setup of openssh?

I really don't know, this all works fine for me.  Try switching the
account starting sshd from cyg_server to LocalSystem and change
ownership of all files /etc/ssh* to SYSTEM.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--dnd11iroZwpv/0M5
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxtyXQACgkQ9TYGna5E
T6CktA//eDoKPDn7A4m7eONSq+ezmFZo8U7nPHDMDvqpbqiW55Z7blK+Pz3jJzQE
mjOz6hULZlBice4v66hyycxMLywyE0ixhnSwcJQCBApl3h6BGgzoV1WRb9rbmW/9
Cl9IDV/T35M1UiIZTjAxZBxGOqa+/CwgEQ142scALkUBELP7xuxOh+7ihwYW6hvc
QvN8ZX2PAGmv6fpaP44WE+WzPWc2jYOoPUPjQvI3U6/yfO9sK5H0TuJs8cyVHnZu
+NlDWlJflNwxp5HWCwyvaDySmT8VTtKp4iyvTZ0HL/WByR3GhpI7bWClUlGwCQJt
pDVEFAXGqYQwplORgA2CFcVBsHvtCCK31xqQdNyGqt1Ic/z/zg26jgm+xSwoCNZ8
4yL0IWsKx+m537GgNwJD9cjWP0Ka/ZHWvkaHFMHiohH4DjULWfUXCUYJRfOtqglm
m/ti324csiTtvLfl9eLNhdvgHEx8y9HGitE/iL1qufoR1TfxPSuKmI096dghg6YU
dcF97ffeO9sF4EGHhrHSv+NaAE5jzv7UUeybZV6PKMll0hNhDZ1nq1NI44p7vHH9
MGPCUAXB+pq3GZQnb9EKBFCEJPjXd6mPoPrlEY2JZ5POBkCK03p5JtTanlYwLrjj
wgMux8y577J5JKTC4VSJjn6AXuxTOut3ppoh9qeN78w5veXwBso=
=Dfqj
-----END PGP SIGNATURE-----

--dnd11iroZwpv/0M5--

- Raw text -


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