delorie.com/archives/browse.cgi | search |
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:date:message-id:subject:from:to | |
:content-type; q=dns; s=default; b=n+eHpkCA2q7Ez7i81nMSeMlfGe1g9 | |
FdN7QR5PrfyCAd0u0d7gQqnfi5cRDALZxlhTP0WNSHSfyPDdrjPR7e6a7fIflvww | |
TPDvXJ2X0Jvp/1cb49E7hWeP/xV7zOL1cZzrm3xXIC/K1ZcVOeCMnjM5VxArYGGJ | |
4n2kGZe2DBYCl8= | |
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:date:message-id:subject:from:to | |
:content-type; s=default; bh=XFVy5Nu/m2ZEw623jwLtAZUBFQU=; b=T5Z | |
CsTbsbbFQDAPrKwbH3f4MB0/xaLY7p0WjmUJncNJv+1JeYJX6Y5KGsWiM+fWBRNE | |
opfCa++ZjGa/s6mGaJcyLcJ50+su6VfbguuCb3VOYspe/2RB2cnzamlc6uOfTR+0 | |
uv8HUJ4owdvzeeMJJT2pkmyhrB/fWf2S+QQcZ0Gg= | |
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=4.5 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FILL_THIS_FORM_SHORT,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=afford, continuously, workplace, cygpath |
X-HELO: | mail-ob0-f182.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:date:message-id:subject:from:to; bh=ShVkEuKP04bZyq5QQRa89xy1th5j0uMpzBYYq5nyr4g=; b=cbn8cBHo8jhFRsqbNk3YhkA4bQYDhvHdhTg1JbYZWypawqtvn/Mo+4hkewp4ODlp5Y 0S7y0rZHtiOS5uCP3KlwK0hxHj9modTAaRKbV3oSpvYDu8ulhl2liuyvk4wk8wrETjmE cwnyAQhI02UcyHr073XN4yfPJts6JCMJmQxxR0tiHmdauQPoTGeBpeYgqQvDIdcFZEUG vSDdInZkLiaAonDjhGS4X0yHr8YU6JA2XC3ygr/8TXo/DWhO3+AweEFKNZGAZROQjK72 f/UDbTiW02tWI7OQi7M7hPE2T2KzNM1EDF37P7VvqCFp8ieOSqR1jSjbwp+Tis1JLGya xHgQ== |
X-Gm-Message-State: | AOPr4FWyFz0KBuP8Mj2IBZ2GhteZzymo95EiEIx8XxyJGfLWcTmqCp+CRxHX4ILRFv2AWI2kTl8X17OOmcNw5A== |
MIME-Version: | 1.0 |
X-Received: | by 10.60.96.164 with SMTP id dt4mr7749160oeb.74.1460644668579; Thu, 14 Apr 2016 07:37:48 -0700 (PDT) |
Date: | Thu, 14 Apr 2016 10:37:48 -0400 |
Message-ID: | <CAN2X4tEmO4H8=757x_CYFWPHtcOr+YMRfR2b07Vg7rFcrNY6tg@mail.gmail.com> |
Subject: | 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 |
Hey team, I run into an issues that I was unable to find assistance within the archives or google searches. I would appreciate some help to bounce a few ideas to get this issues resolved. Thank you for your time in advanced. We have a linux server that uses wbadmin via cygwin to backup a windows node. After the cygwin-2.5.0 upgrade, our script stopped working. Since we need this working continuously in our workplace, I uninstalled cygwin and reinstalled back to 2.4.0 and the backup began working again. I used a second windows machine to install cygwin-2.5.0 in order to test and troubleshoot on a system that can afford to be down, this second machine is getting the same error. It would appear that something in the new cygwin version changes the way the that path is being interpreted within cygwin for wbadmin. Below I will post a few examples of what is happening. The original command that gets forwarded via ssh is the following: /cygdrive/c/windows/Sysnative/wbadmin START BACKUP -user:USERNAME -password:PASSWORD -backuptarget:"\\SERVERNAME\PATH\TO\SHARE" -allCritical -systemstate -quiet Which returns the following error: ERROR - The user name or password is unexpected because the backup location is not a remote shared folder. The only changes in the linux node doing the backups and the windows node being backup have been standard windows 2008R2 and redhat updates. Besides that nothing else has changed in either system In my testing I confirmed the following things: 1) I am able to mount the samba share on the windows machine without any issues 2) the samba share has correct permission, and I was able to read/write to the corresponding folders in the share 3) I am able to ssh in and out of the both unix and windows nodes without any issues 4) windows and linux are able to resolve the SERVERNAME to the correct IP 5) added an extra \ (escape) to the path as following \\\\SERVERNAME\\PATH\\TO\\SHARE, which returns the same error 6) I tried to setup a variable and then use cygpath without luck, still getting the same error. using echo, I verified that the intended path is being printed 7) verified that SERVERNAME and corresponding IP are located on /etc/hosts on the cygwin installation Here is where I noticed that the issue must have been related to cygwin: Using the exact same same wbadmin command in the example above, and running it on a windows terminal (cmd), the backup works just fine. Then I open a cygwin terminal and type the exact same wbadmin command and the I get the error again. Since the same command works on a windows terminal but not in cygwin is leading me believe this may be an issues with the new update. I tested on the cygwin-2.4.0 system and both cygwin terminal and windows terminal work correctly. I hope I am missing something small, perhaps a config file requires a minor change in order to resolve this issue. Any help would be appreciated. AlexG -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |