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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=UqbiqQzCVWCpJEOhEyFZp3Sh5vWViF2nxelwWDu0gFBIOIsBHzcC8
	AiqvKpvek1zCgxjXk+rQYJmQtJ4l3rdsWBYXpFLMVrfjLVWxWzfyWfnbVII0aOa/
	9Q5kaOw7YaNtL79LCGNh3cWewUNhDdHJp8tnNo1Z+fgW9OmpytdJ64=
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=oifT/Bi/Axu3sQ1PYbVsaixvnCY=; b=j1Yb7w/6tuhnm2/VrvxRMCKEK6oQ
	yGQUX4/endDL0Gx1HicvWooERzZT1aKFmoAQKN0C0umbHGuweHcEmz14qp8go4d5
	OUDhZTqtsqGcQiwn/y4lNXtlTOV5ksmzcKcDgjMNpjcVZ3ZpdTL3VzgCswJxWjXj
	8L1IHpaZQLh3VUY=
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=-0.9 required=5.0 tests=AWL,BAYES_00,SPAM_BODY1 autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 5 Sep 2014 13:55:52 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Windows Server 2012R2 and cygserver
Message-ID: <20140905115552.GB6056@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <loom.20140904T161312-934@post.gmane.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="wHYmV+hLPeNaasdK"
Content-Disposition: inline
In-Reply-To: <loom.20140904T161312-934@post.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Sep  4 14:36, Achim Gratz wrote:
> > Ok, I don't grok this.  If you have trouble with cygserver, which is
> > completely unrelated to this issue, please discuss this in a new thread
> > and please describe detailed what you did to provoke the problem and
> > paste what you see.
>=20
> I'm running (from an administrative account) "cygserver -d" in one mintty
> and "sshd -d" in another.  While sshd is starting up, I get these debug
> messages from cygserver that look strange:
>=20
> cygserver: winsup/cygserver/pwdgrp.cc, line 159: Request account informat=
ion
> returns <MACHINE+cyg_server:*:197614:197121:MACHINE\cyg_server,S-1-5-21$
> cygserver: winsup/cygserver/pwdgrp.cc, line 159: Request account informat=
ion
> returns <Administrators:S-1-5-32-544:544:> error 0
> cygserver: winsup/cygserver/pwdgrp.cc, line 77: User
> <sshdrs:S-1-5-32-544:544:> failed
> cygserver: winsup/cygserver/pwdgrp.cc, line 159: Request account informat=
ion
> returns <> error 2
>=20
> Another frequent occurence in the debug messages and the Windows event log
> is this:
>=20
> cygserver: bad request body length: got 11

I think I found the bug.  I missed the trailing \0 from the user name
in the packet length sent to cygserver.  I fixed that in CVS and uploaded
a new snapshot to https://cygwin.com/snapshots/.  Please test.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--wHYmV+hLPeNaasdK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUCaTHAAoJEPU2Bp2uRE+gPYsP/2YJEqfAPAvA3iWTZ1p5ccps
DDh7t5G/9x8ks8BmBXfF6yIhlMYA53pL0HQhqzRAJkRHepsSyDEJDDzTbuo7mEss
TK1/edrJru0qoogBEtDuB2c0a3/VYy9X/npWiqb4hNKe2x2zqzPRZL9N1EPGj/p0
aQ01nWJiig2OQ2G78iGi7L6Xvdgkx4lDcZd8Rgtca9c+BwO4C+dW/BMSCa0X0joh
Xv7vYWLQWB44PhV+3ZsyuEBlXo+m9DUFGoPRJUdqE7MV1u1aekWGSGvb3jm0jcjZ
EK3OeHYdafmRbqTixUObzD7DzY5tAtEVYfdiSTifLo0zRfgSYDsr4nQfrl3imJeW
F6INPxQCTqM2iTsKcaFtKsFX45pHOGg/yFQ5QijygIIPbGJzfTceaeF1EMDicfrp
MXDv8FCTP0qPuSmriUkaZcYPMfY/tR3V3dBcZTyeKCLPv1WDQW/BN2nuQGQzk4am
D8dkviyXnRl6Uy1AYNC8wASxHAjXNuB2GPLTOPf4lXMuqJDmQKzunRxUtLJbjAgy
378qrCLJkIbmTHMXibA4U0kwQuUR60wdl0MkSJ7TElgy72VqF55jGz3GMIxusPmE
Ajv73iKcgGKkCfrtQGXB+ncX2JU6VXxkih1luJpR9By8Vb359lsIkpD0GblReJik
lnYWcbVv13YMjT6vW1Hu
=SzuZ
-----END PGP SIGNATURE-----

--wHYmV+hLPeNaasdK--
