delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/14/15:03:59

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=D4
WMT9Ma+Fst+o6NR5Q2yy+g27jJkpjFRDfYF+sktfm3aUr3Ls/9QY7iEBwZTzSQOF
kUIpQfTKhM7OhIO+1PjIwGHjE+mkIpu66glwXCD7q6PehBaIkgNfR3SWNowWc06/
GjZGXKUROfM9DSna2XQnIrc0CiiB1JeTpN936BZ0c=
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=yPx1wZaZ
k+XBij6JFGt1K2Xvp30=; b=Ws00Xwf/GKIQatHSI1KT9G+s9FZgUuCP6otOIqpy
1NZsih8jIM7vut7BwOgY+KT6yaC35EP8yk1Zic1jgVumAMiTof49wLv4dkGjfTQ2
pmj4sO0Jn/CM3zOz+LuX9c90MwgZoKJfAD2/1GFxt2bZTH8jTQKWYhtUwVWKMEPd
1PQ=
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=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:stromek, stromeko AT nexgo DOT de, stromekonexgode, U*Stromeko
X-HELO: mail-oi0-f51.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=b4BhoxXDG3XNIMOnmrS99Io9grZ526s4ZlnIkAhgJI4=; b=GRSplp0STCSXVeglL0QFlI7YQNVVgFf1CJOfH2OrHQ8Hqtuf1pN+3ZTqZ7gbCgXlta lPvjCw7TZq/8XZexRLqshdhcocqLkAjC9kKO+LHAReA0gqFPWADwNJysK2pEBLbmlfuy 6LGIuz13AzGKog0BrmtyjEOMvcWxVNqjQu/u+z2sgwfnSDe/hb1X3JtfGn3javQ818K4 VT15oaYe4pupciOtD1jM0jxrYf9t7ew7lyNYg6ONiysgTlDlgbu6fW8cNoaZRWYB/om7 mheuvCJEJCv8dJaySnpWtki0m7kqDR/O6puEvWdBI+YPZcNrys0Yg3hJF+1K6Z1/AHJW WVkA==
X-Gm-Message-State: AOPr4FXSrTdxE1z8bkEobcZzV7loz9jbIY8mceDXAQz2fL/TBrAqKqTRTEJPxSxoRKgvO0XehMe4BAMIV9kzTw==
MIME-Version: 1.0
X-Received: by 10.157.35.75 with SMTP id k11mr9049175otd.34.1460660611728; Thu, 14 Apr 2016 12:03:31 -0700 (PDT)
In-Reply-To: <87ega8t99o.fsf@Rainer.invalid>
References: <CAN2X4tEmO4H8=757x_CYFWPHtcOr+YMRfR2b07Vg7rFcrNY6tg AT mail DOT gmail DOT com> <loom DOT 20160414T170618-303 AT post DOT gmane DOT org> <CAN2X4tFfqgPS5Jc9=rodiv_4mE-mb3akSD925oA1tWy6C5jebA AT mail DOT gmail DOT com> <87ega8t99o DOT fsf AT Rainer DOT invalid>
Date: Thu, 14 Apr 2016 15:03:31 -0400
Message-ID: <CAN2X4tHMu32aFfAnbz0fC3heNLBHrXPxVkcQvp8+RgT_o7rNbw@mail.gmail.com>
Subject: Re: Cygwin-2.5.0 net share wbadmin no longer working post update
From: Alexandria Gutierrez <alegutier AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I also have a feeling it has something to do with the way ssh is
sending the single quotations over to windows. I will continue to
troubleshoot this issue to see what I can determine. IF/When I find a
resolution I will post it here to help others.

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.

I would love to run it from a local script, but we use cygwin as part
of a software solution that we deploy to many computers. In this case,
it is not a practice solution in our scale. Thank you for your
assistance. I will continue to work on this. :)

-Alex

On Thu, Apr 14, 2016 at 1:01 PM, Achim Gratz <Stromeko AT nexgo DOT de> wrote:
> Alexandria Gutierrez writes:
>> I was already using a single quotes to send the command via ssh, such as:
>> ssh -q -n 'command here'
>
> Those quotes never make it over to the Windows side, since they are
> stripped by the invoking shell (unless you do something to the shell).
>
>> I added the single quotes on the path itself such as:
>> -backuptarget:'\\SERVERNAME\PATH\TO\SHARE'
>> and this time it worked via cygwin terminal,
>> but it still does not work via ssh for some reason
>
> That quoting just ensures you don't need to write "\\\\SERVER\\PATH"
> like you would with double quotes.
>
>> On cygwin on the windows nodes, I made sure they are using bash
>> on the linux node by default we use kornshell
>>
>> Since nothing has changed, do you think this difference in shell may
>> be the difference?
>
> I don't know.  But if you're dealing with multiple and possibly
> different levels of quote removal, things get ugly really fast.  It
> seems a lot simpler to just put that command in a shell script, test
> that thoroughly and then just call that script remotely.  You could make
> that script the login shell for a service user and can then just ssh to
> that user to start the backup.  Or, since we're talking Windows after
> all, install the wbadmin command as a service that can be started from
> Cygwin (this would have the advantage that it's easily started manually
> from task manager as well).
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Waldorf MIDI Implementation & additional documentation:
> http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
>
> --
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019