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=P53XvhUouBziPy8AXm4N0O4TYJo0+LVlRR/tVgVfBAknIwba6X5Ft 8ZI4KhiRngDxpikY+UJrzSJC2p9TN1NuDNMikl9CMIiUZLajiUK+yP3uRcnOBIWc 6cJ9vM8iOq7JpIyxbTKNYtFKIrP7qKubkGUaQCF5eU/C8O9UJF93ds= 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=d93sxvd7Tn11ryKZ5KQJTy0VxNU=; b=qWeexRqniKm0YNmzCmHmml8mXFjB Q37nc0RNMyn9vIEOTvQY6fUjFK3HfnOYXa7yCA/yJl9QTH1MWI4BGUPhjOWzTzLM M/CVM+jJiJxr3lzaZXnSmLkz6fOYucg497X7N1pL1Mbs3gzHKNFhN/gB6919Z3Xu 0XlPLPwvEdfUk+8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: Tue, 31 Mar 2015 12:04:53 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv no longer allows domain user Message-ID: <20150331100453.GD32403@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <551990DB DOT 1030703 AT intersystems DOT 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) --PHCdUe6m4AxPMzOu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--