This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

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

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. :)


On Thu, Apr 14, 2016 at 1:01 PM, Achim Gratz <> 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:
> --
> Problem reports:
> FAQ:         
> Documentation:
> Unsubscribe info:

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]