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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=oA
	X//X8q1d5hCb3Gr2+HJLIkjP4iUixnBEcUD/0AAPRp53j69hNbgJQMNz49umUsfp
	yxbF9bVGJL+FIelCi6O/OM1W1yD/qEtyRg7Bd5py3ZOVkqhGimJztu0SXxG+VMgp
	EQ33B63cOzxXsab+2FRGq2FWONJK+biK4Z/enq9SQ=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=6aF5IYd4
	5VVV3Q/rifjmhvAPbHs=; b=yS4BlAhpg/wvCycyfoXC78z9eQ9E0WJsSTk8gov8
	FcFt/QHRfk1glEG3YWNeuYG/cvDl5l8aoPdbxALrIgQtBIVOxA/zd3qzJdqVAP08
	vy59R8Fx8+peqeT0FsUCOeTBGxfmF/jczgiXm0JkDVtBFdlrOs6RjLiNTG8S1Dgc
	GI0=
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=2.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=ham version=3.3.2 spammy=stromekonexgode, stromeko@nexgo.de, U*stromeko, Stromeko@nexgo.de
X-HELO: mail-ob0-f172.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:date         :message-id:subject:from:to;        bh=DRO0SASmfXx1owQraCHWLxdYQ7QRMRKmxoBQm7Rg8iQ=;        b=FpAgoZTIwJj+EykSHwYtxb2pVe1Mo6ZWw+ukiVpzBHaS3voL4+yYwOik4jScoeVCNX         weqmqRawNgwUMqdtr7Zrog/Q4SiDOaNzRai0nV8tgo04apQlOru5dhLl3wfF5eOGLpIh         uS4x68MSWKd0aftex3UFH0x93HKsLHWgeedG6NmJ3frL3ZJCR0uExgNlKgsNNl3M1PN2         4fGAn8RjltkvfPn4RjOANTQuaeaphn0JwCCZdoBwuXAOmn6Qulhw/IBjJy/hPTe6rEP2         +EYVXbiMqvgOqpzfmAnxdsXqsv2YvwVZgfnXxBKTkTS+kOQ8PTenPSKU6BVgOt7i9orB         lpaw==
X-Gm-Message-State: AOPr4FWrtZmOnxAmmgxNxCOkSVVPwSejWTCeVh0oJkp7blirNCBZ/upAgnzgu3MnbDdEHFQ86aSkB+3p1+zL7w==
MIME-Version: 1.0
X-Received: by 10.60.96.164 with SMTP id dt4mr8675120oeb.74.1460663304738; Thu, 14 Apr 2016 12:48:24 -0700 (PDT)
In-Reply-To: <87a8kwt39s.fsf@Rainer.invalid>
References: <CAN2X4tEmO4H8=757x_CYFWPHtcOr+YMRfR2b07Vg7rFcrNY6tg@mail.gmail.com>	<loom.20160414T170618-303@post.gmane.org>	<CAN2X4tFfqgPS5Jc9=rodiv_4mE-mb3akSD925oA1tWy6C5jebA@mail.gmail.com>	<87ega8t99o.fsf@Rainer.invalid>	<CAN2X4tHMu32aFfAnbz0fC3heNLBHrXPxVkcQvp8+RgT_o7rNbw@mail.gmail.com>	<87a8kwt39s.fsf@Rainer.invalid>
Date: Thu, 14 Apr 2016 15:48:24 -0400
Message-ID: <CAN2X4tExtHpod9R_LLwt4sFvEJKp_bSh=UpyLFys5SbK1A1XnQ@mail.gmail.com>
Subject: Re: Cygwin-2.5.0 net share wbadmin no longer working post update
From: Alexandria Gutierrez <alegutier@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

I am sorry, I was not clear.
On the original script I am using -backuptarget=\\\\SERVERNAME\\PATH\\TO\\SHARE
to avoid the use of quotes. I have several cygwin version installed
across multiple windows nodes. All of them work correctly.

On the 2 new cygwin-2.5.0 nodes using the same script (already working
with 2.4.0 and older) does not work. One was a cygwin upgrade, and the
other was a clean install.

What I mean to say, it was that given the number of computers running
this script across systems that can not be access remotely, the
solution that would be practical for us to find, would be one that we
can be attached to a set of cygwin-2.5.0 installation instructions. I
really appreciate all of the assistance I can get. I hope I did not
sound dismissive.

Just as an update, even if I connect directly via ssh to the node and
and run either:

/cygdrive/c/windows/Sysnative/wbadmin START BACKUP -user:USERNAME
-password:PASSWORD -backuptarget:'\\SERVERNAME\PATH\TO\SHARE'
-allCritical -systemstate -quiet
or
/cygdrive/c/windows/Sysnative/wbadmin START BACKUP -user:USERNAME
-password:PASSWORD -backuptarget:\\\\SERVERNAME\\PATH\\TO\\SHARE
-allCritical -systemstate -quiet

it does not work. I do understand what you mean that SSH will strip the quotes.
Whatever the solution is, I am interested in finding it. The next
thing I am going to try is to roll back some windows updates to see if
that is responsible for the issues.

Any other suggestion, ideas and solutions would be appreciated.

-AlexG



On Thu, Apr 14, 2016 at 3:10 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
> Alexandria Gutierrez writes:
>> I also have a feeling it has something to do with the way ssh is
>> sending the single quotations over to windows.
>
> The ssh will never see those single quotes since they're stripped out by
> the shell, so it can't send them over to Windows anyway.  You have to
> add at least another level of quotes.
>
>> My main concern is that prior to cygwin-2.5.0 it was working
>> correctly, with out any changes, and I have tested on multiple
>> machines.
>
> Whatever did change, your expectations about the handling of these
> quotes seems to be at odds with reality.
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Wavetables for the Terratec KOMPLEXER:
> http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

