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=ZdSdQuFEoJrWEy2YwAy7ORPX6fK85xDVVU4ACs43n494XGConbBsw q1tXc4tCzRsOE3YaJdLU0cBdd9nm0ZEdLmbNbJz7KfsDUACcrizX7rsxRCxam/PM APsc/lL4Yss05WEgBodV2E9um4FJpXYOyXFjQjmPigOwotHAdgOjfE= 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=/nwVqe/+t3UIdYoRVclzHF9mQ9M=; b=FhMNT9iAH+XIk/7uY2GvQBCtzbHW YBo+4dIW/IeZLrqq8Vdya/VgM77aUnXmNmaVE7hFvcs1EIhiVb9MA8ynj2Fun8uh D/P2AlcHZ3i/jtBq1qAYwl5nmfSiuyGJNqG4TVSwZpPr7NARN4/8RQ4Fkd16C6Fp ZgPYHGZizjinQJU= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 16 Apr 2014 17:43:08 +0200 From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com> To: cygwin AT cygwin DOT com Subject: Re: Still testing needed: New passwd/group AD/SAM integration Message-ID: <20140416154308.GV3271@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140410145323 DOT GB2437 AT calimero DOT vinschen DOT de> <53487C6E DOT 9010905 AT cornell DOT edu> <20140412111325 DOT GA3271 AT calimero DOT vinschen DOT de> <53494BAA DOT 3020005 AT cornell DOT edu> <534DA152 DOT 2080304 AT cornell DOT edu> <20140416080420 DOT GO3271 AT calimero DOT vinschen DOT de> <20140416093519 DOT GQ3271 AT calimero DOT vinschen DOT de> <534EA18D DOT 60200 AT cornell DOT edu> <534EA277 DOT 1080404 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="te9Bkl2b4W0C+FfQ" Content-Disposition: inline In-Reply-To: <534EA277.1080404@cornell.edu> User-Agent: Mutt/1.5.21 (2010-09-15) --te9Bkl2b4W0C+FfQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 16 08:32, Ken Brown wrote: > On 4/16/2014 8:28 AM, Ken Brown wrote: > >On 4/16/2014 2:35 AM, Corinna Vinschen wrote: > >>On Apr 16 10:04, Corinna Vinschen wrote: > >>>On Apr 15 14:14, Ken Brown wrote: > >>>>I've come across a glitch involving sshd and cygserver. [...] > >>>>Now I close the Cygwin Terminal, stop both services, and restart > >>>>them in the other order (cygserver first, then sshd). Repeating > >>>>steps 3 and 4, I can't login: > >>>> > >>>>$ ssh kbrown-admin AT localhost > >>>>kbrown-admin AT localhost's password: > >>>>Permission denied, please try again. > >>>>kbrown-admin AT localhost's password: > >>>> > >>>>Notice that (a) I didn't get a prompt for the passphrase for my ssh > >>>>key, and (b) my password wasn't accepted. > >>> > >>>Thanks for the report, Ken. I'll have a look. > >> > >>To clarify: This is a non-domain machine, right? And sshd is running > >>under the cyg_server account while cygserver is running under the > >>LocalSystem account? > > > >Yes to all. > > > >>I'm just testing this, only with a domain machine and domain accounts, > >>and I can't reproduce this. I have a bit of a problem to test this on a > >>non-domain machine because my network is set up for domain machines... > >> > >>However, I found that I made a blatant mistake in cygserver. The > >>message length was computed one byte too short, so the trailing \0 in > >>the passwd/group string wasn't transmitted. This *might* be the cause > >>for your problem. > >> > >>I just built a new snapshot. Can you please try if this fixes it for > >>you? Make sure to use the new cygserver! > > > >Yes, that fixed it. Thanks. > > > >>While I was at it, I also added a patch to get rid of the "setsockopt > >>IPV6_TCLASS 16: Protocol not available" message. > > > >Good. It's nice to see that anymore. > ^ > not Thanks for testing! I had hoped that this is the culprit. The difference was obviously something realted to using or not using cygserver... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --te9Bkl2b4W0C+FfQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTTqUMAAoJEPU2Bp2uRE+gb5sP/jLJRzCZfoReeF6olu0OGX88 7DBOrGfC5T5kDq5zFcPia7Otb98JGpKvRnu/4OkoorcHWrtqBPLOj0vKeoXBUcd8 usH4EsEMrXme3qagWre4zBAB24PKg6nx1Gf3el71bAoUrAGiem4/ZH2h+ONgoFpn dAqHOLRp7DZ7Vh/VAE/RuYCzbJwbzivxQOjlg5fE7hvTcNforcdx9Dz5ACOmCCQg kcs84BRdt2n15v2j1gm9oGfFoXVWw5byQOhjiQHjHH+ynAsi8pbshL6vE2VZoy5L bUP6zM6T2hCu3sx9I6yFkfBZL1BqPacMPJ+XPKzfvxjbMccHJDxCE70kbCftpXVZ g75HOpHWpDcdCKsEL6dkr1tVaJALMcV6VaxnqTcKitIcwpn/iL/IDrtc5/dRql+x G33N0iKPtEiJMMHSOyEg+jab/+Eu1S0UZvmp6YZiy77DdKVDXKs01qcIlHKuYroo C1ZNx0ZJvhpdoeIYCrq9EkvITUHohiKx5Iyah/Yg4s14dnR2ZbYGhB5e+T4PjVNm RIogagIv5WBHY7hvdiecVClfosiN+4jmDEvAc5XbU/0ZpvzUZ5reYgl0SEVgxNoH njipnM15krPGFyNpSPl8+a5P/zdUUOIdbSOb61VEnpOxLypvadvkxx7RB4i9AdsJ VvpM6xfK6fxcdnB5W2RJ =5oJi -----END PGP SIGNATURE----- --te9Bkl2b4W0C+FfQ--