From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101915 invoked by alias); 31 Mar 2015 10:04:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 101900 invoked by uid 89); 31 Mar 2015 10:04:57 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 31 Mar 2015 10:04:55 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 7E17AA80A3F; Tue, 31 Mar 2015 12:04:53 +0200 (CEST) Date: Tue, 31 Mar 2015 10:15:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygrunsrv no longer allows domain user Message-ID: <20150331100453.GD32403@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <551990DB.1030703@intersystems.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PHCdUe6m4AxPMzOu" Content-Disposition: inline In-Reply-To: <551990DB.1030703@intersystems.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-03/txt/msg00545.txt.bz2 --PHCdUe6m4AxPMzOu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1500 On Mar 30 14:07, Len Giambrone wrote: > This used to work (before Corinna's db work): >=20 > $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotus= eme > -p /cygdrive/f/tut/install.sh > cygrunsrv: Error installing a service: CreateService: Win32 error 1057: > The account name is invalid or does not exist, or the password is invalid > for the account name specified. >=20 > Using + doesn't help either: >=20 > $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL+build' -w donotus= eme > -p /cygdrive/f/tut/install.sh > cygrunsrv: Error installing a service: CreateService: Win32 error 1057: > The account name is invalid or does not exist, or the password is invalid > for the account name specified. >=20 > Is there an incantation that will work? Uhm, not with Cygwin 1.7.35, unless your domain is the primary domain of your machine, in which case you just omit the leading domain: cygrunsrv [...] -u 'build' This is a bug in Cygwin. Cygrunsrv calls getpwnam("ISCINTERNAL\\build") and the underlying code fails to recognize this as invalid Cygwin user name. Instead, it constructs a user entry for a user ISCINTERNAL+ISCINTERNAL\build and carries on. I fixed that in the repo and uploaded new developer snapshots 2015-03-31 with this patch to https://cygwin.com/snapshots/. Please give them a try. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --PHCdUe6m4AxPMzOu Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVGnFFAAoJEPU2Bp2uRE+ggZIP/0uf0fRk2O5oYEesAdGzsqO3 AcaALo9+9x+IN3d0iDdKomPbmZEqnomiZx9vRvKIUOv/UIA9V3BHU0RzYOQWTOet M1daSHtsiGEMTMiDy9nS9XAwM0l4Xa4xU7MaRwTxTqdb4cUsQRUNf18OOHXvJG4m TFNntPpjqyZ3efgGuyxX9q9Yh7o9djO4pE02EPNJWqfl2PW6wDANUhqvf2tPUU5B A/mmYXi1qFORXifsvUG/139kzxIjI49d9LbOKNoCX6hnWdzLw+8SYmL9xiliGsKZ ApQIbZCfyzEwf1ctsL9hprtB2orFqk5iQD/zeqiMfYK9j4yf6UhNPydEO06IvTjA NnOMt2tWa/RuwOaepoXJKsPQNnWgO5V+NMGlY/veh9T2FMIfm6MHMsQmLA307Uml L5//BGEfGJ3gxqfFv0w22Xw7A5QRKgIxx+DT8y3w6eg6i61bv0gMsjssjsoYMHIx GdP/vqnwwtm3nzOyH566N5AzSsOKokjnPMRFtOQwZXiAksR5rB1m7HNIAwg5V/kL DiMQqacWPYT4l5sGO7KkEv2xpTzQTbXBUBblVk4fHD4EN3I5MR//lHOw19jfcfSm aH2GukSMUHxn5YnV/CL0Nc0VYlDN3TwCspOGrQF41Z0G3Kw6NMzIuHtF6aQS7mjc MOk0sdn4kUygxQj0F4n0 =H1Ob -----END PGP SIGNATURE----- --PHCdUe6m4AxPMzOu--